mirror of
https://gitlab.com/ita1024/waf.git
synced 2025-01-03 06:57:31 +01:00
Issue 1524 - ruby configuration in 2.2
This commit is contained in:
parent
6c11f91e12
commit
0b926c7682
@ -101,7 +101,7 @@ def check_ruby_ext_devel(self):
|
|||||||
return Utils.to_list(self.cmd_and_log(self.env.RUBY + ['-rrbconfig', '-e', cmd]))
|
return Utils.to_list(self.cmd_and_log(self.env.RUBY + ['-rrbconfig', '-e', cmd]))
|
||||||
|
|
||||||
def read_config(key):
|
def read_config(key):
|
||||||
return read_out('puts Config::CONFIG[%r]' % key)
|
return read_out('puts RbConfig::CONFIG[%r]' % key)
|
||||||
|
|
||||||
ruby = self.env['RUBY']
|
ruby = self.env['RUBY']
|
||||||
archdir = read_config('archdir')
|
archdir = read_config('archdir')
|
||||||
|
Loading…
Reference in New Issue
Block a user