summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-26 02:42:24 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-26 02:42:24 +0000
commitf86c8dd4e1f6d914d6c0284899c155293a0fbb46 (patch)
tree614b4368e81b362474728abbb7f9273de3936e8c /test
parentc0c62101d3bfc1dc17d8c38924feb07e59f66dd4 (diff)
downloadruby-f86c8dd4e1f6d914d6c0284899c155293a0fbb46.tar.gz
ruby-f86c8dd4e1f6d914d6c0284899c155293a0fbb46.tar.xz
ruby-f86c8dd4e1f6d914d6c0284899c155293a0fbb46.zip
* test/mkmf/base.rb: use $INCFLAGS to add -I option. [Bug#2387]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/mkmf/base.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/mkmf/base.rb b/test/mkmf/base.rb
index 0a7574472..1b5b89e17 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