aboutsummaryrefslogtreecommitdiffstats
path: root/test/mkmf/base.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/mkmf/base.rb')
-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 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