forked from Mirrors/freeswitch
8 lines
219 B
Ruby
8 lines
219 B
Ruby
|
require 'rbconfig'
|
||
|
|
||
|
cflags = if RUBY_VERSION =~ /1.9/ then
|
||
|
"-I#{RbConfig::CONFIG['rubyhdrdir']} -I#{RbConfig::CONFIG['rubyhdrdir']}/#{RbConfig::CONFIG['arch']}"
|
||
|
else
|
||
|
"-I#{RbConfig::CONFIG["topdir"]}"
|
||
|
end
|
||
|
puts cflags
|