summaryrefslogtreecommitdiff
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
commitf1be083f0964ca59c1d38c4b145313e51ca09a90 (patch)
tree614b4368e81b362474728abbb7f9273de3936e8c
parent12b637a65d95b6134930bb0f9df0a3979a6a34bb (diff)
* 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
-rw-r--r--ChangeLog4
-rw-r--r--test/mkmf/base.rb3
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5b8c422..bbf8398 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Nov 26 11:42:22 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * test/mkmf/base.rb: use $INCFLAGS to add -I option. [Bug#2387]
+
Thu Nov 26 07:17:58 2009 wanabe <s.wanabe@gmail.com>
* marshal.c (mark_dump_arg): mark str. see also [ruby-dev:39735]
diff --git a/test/mkmf/base.rb b/test/mkmf/base.rb
index 0a75744..1b5b89e 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