From f1be083f0964ca59c1d38c4b145313e51ca09a90 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 26 Nov 2009 02:42:24 +0000 Subject: * test/mkmf/base.rb: use $INCFLAGS to add -I option. [Bug#2387] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/mkmf/base.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test') diff --git a/test/mkmf/base.rb b/test/mkmf/base.rb index 0a75744721..1b5b89e17c 100644 --- a/test/mkmf/base.rb +++ b/test/mkmf/base.rb @@ -5,8 +5,7 @@ require 'tmpdir' $extout = '$(topdir)/'+RbConfig::CONFIG["EXTOUT"] RbConfig::CONFIG['topdir'] = CONFIG['topdir'] = File.expand_path(CONFIG['topdir']) RbConfig::CONFIG["extout"] = CONFIG["extout"] = $extout -RbConfig::CONFIG["cppflags"] << " -I." -CONFIG["cppflags"] << " -I." +$INCFLAGS << " -I." $extout_prefix = "$(extout)$(target_prefix)/" class TestMkmf < Test::Unit::TestCase -- cgit v1.2.3