Sha256: f2eb369244184d0271d1307445423d4e344a8e69d9f0afa37726a0daf464721a

Contents?: true

Size: 274 Bytes

Versions: 2

Compression:

Stored size: 274 Bytes

Contents

require "mkmf"

extension_name = 'key_code_native'
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

create_makefile(extension_name)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mac-key_code-0.0.2 ext/key_code_native/extconf.rb
mac-key_code-0.0.1 ext/key_code_native/extconf.rb