Sha256: 4e7b9d118804ccadcb3ed094acafdfda8af462fa31fcb81401b8bc4ed81487ba

Contents?: true

Size: 578 Bytes

Versions: 3

Compression:

Stored size: 578 Bytes

Contents

if RUBY_VERSION < '1.9.0'
  $LOAD_PATH.unshift(File.dirname(__FILE__) + '/../lib')
end

require "mkmf"

# Name your extension
extension_name = 'skype_api'

# Set your target name
dir_config(extension_name)

framework_dir = File.dirname(File.expand_path(__FILE__)) + '/../../ext/Frameworks/'

$CFLAGS += ' -F%s' % framework_dir
$LDFLAGS += ' -F%s -framework Skype -framework Foundation' % framework_dir

begin
  MACRUBY_VERSION # Only MacRuby has this constant.
  $CFLAGS += ' -fobjc-gc' # Enable MacOSX's GC for MacRuby
rescue
end

# Do the work
create_makefile(extension_name)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mac-skype-0.0.3-x86_64-darwin-13 ext/skype_api/extconf.rb
mac-skype-0.0.2-x86_64-darwin-11 ext/skype_api/extconf.rb
mac-skype-0.0.1-x86_64-darwin-11 ext/skype_api/extconf.rb