Sha256: a42fec6f9eeb03126e4d3630fa4fb67e8677e030d7dfa8f9c7b20ee796499f19

Contents?: true

Size: 420 Bytes

Versions: 3

Compression:

Stored size: 420 Bytes

Contents

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

require "mkmf"

# Name your extension
extension_name = 'event_monitor'

# Set your target name
dir_config(extension_name)

$LDFLAGS += ' -framework AppKit'

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-event-monitor-0.2.1 ext/event_monitor/extconf.rb
mac-event-monitor-0.2.0 ext/event_monitor/extconf.rb
mac-event-monitor-0.1.0 ext/event_monitor/extconf.rb