Sha256: 3e81ca39387f68bb63209414d88b4882f95bd70d33f8ff76ca484036ec477656
Contents?: true
Size: 745 Bytes
Versions: 2
Compression:
Stored size: 745 Bytes
Contents
ENV['RC_ARCHS'] = '' if RUBY_PLATFORM =~ /darwin/ require 'mkmf' INCLUDE_DIRS = [ # Check the ruby install locations RbConfig::CONFIG['includedir'], # First earch /opt/local for macports '/opt/local/include', # Then search /usr/local for people that installed from source '/usr/local/include', # Finally fall back to /usr '/usr/include' ].freeze LIB_DIRS = [ # Check the ruby install locations RbConfig::CONFIG['libdir'], # First search /opt/local for macports '/opt/local/lib', # Then search /usr/local for people that installed from source '/usr/local/lib', # Finally fall back to /usr '/usr/lib' ].freeze # dir_config('chess', INCLUDE_DIRS, LIB_DIRS) $CFLAGS << ' -std=c99' create_makefile('chess/chess')
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chess-0.3.1 | ext/extconf.rb |
chess-0.3.0 | ext/extconf.rb |