Sha256: a32e71895295ef05113dfc60030a50cccbd9069a6611f3355842c9d13cdcd35e
Contents?: true
Size: 732 Bytes
Versions: 3
Compression:
Stored size: 732 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', ] 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', ] #dir_config('chess', INCLUDE_DIRS, LIB_DIRS) $CFLAGS << " -std=c99" create_makefile('chess/chess')
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
raquelchess-0.0.0 | ext/extconf.rb |
chess-0.2.2 | ext/extconf.rb |
chess-0.2.1 | ext/extconf.rb |