mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 09:36:46 +00:00
ESL-66
This commit is contained in:
8
libs/esl/ruby/cflags.rb
Normal file
8
libs/esl/ruby/cflags.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
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
|
Reference in New Issue
Block a user