Sha256: 0635baa19baefc18019fa365cff18a59cb068263888e3cfae16ce1885f14c0b0

Contents?: true

Size: 471 Bytes

Versions: 5

Compression:

Stored size: 471 Bytes

Contents

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

require "mkmf"

# Name your extension
extension_name = 'util'

# Set your target name
dir_config(extension_name)

$LDFLAGS += ' -framework ApplicationServices -framework AppKit'

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

have_header(extension_name)

# Do the work
create_makefile(extension_name)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mac-robot-0.5.0 ext/util/extconf.rb
mac-robot-0.4.1 ext/util/extconf.rb
mac-robot-0.4.0 ext/util/extconf.rb
mac-robot-0.3.0 ext/util/extconf.rb
mac-robot-0.2.3 ext/util/extconf.rb