Sha256: 73bd83d3a73d65f707eaad9de66f339ffc2c3065bed458e15a12fe49294f2188
Contents?: true
Size: 752 Bytes
Versions: 3
Compression:
Stored size: 752 Bytes
Contents
ENV['RC_ARCHS'] = '' if RUBY_PLATFORM.include?('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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
chess-0.3.4 | ext/chess/extconf.rb |
chess-0.3.3 | ext/extconf.rb |
chess-0.3.2 | ext/extconf.rb |