diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-04-08 11:18:17 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-04-08 11:18:17 +0000 |
commit | 327f607dff56799d9dbb37c155188688e0331e92 (patch) | |
tree | 9ac5d7eaf20f625f4e83300c3d3221c952b6e611 /ext | |
parent | 70819aa969c4a0d6046e08936a827325db643cb7 (diff) | |
download | ruby-327f607dff56799d9dbb37c155188688e0331e92.tar.gz ruby-327f607dff56799d9dbb37c155188688e0331e92.tar.xz ruby-327f607dff56799d9dbb37c155188688e0331e92.zip |
* ext/extmk.rb (extmake): hdrdir needs to be defined also in
Config::CONFIG.
* lib/mkmf.rb (configuration, create_makefile): get rid of recursive
macro reference.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/extmk.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb index dd3bcfeb2..aa6200e37 100644 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -115,6 +115,7 @@ def extmake(target) makefile = "./Makefile" ok = File.exist?(makefile) unless $ignore + Config::CONFIG["hdrdir"] = $hdrdir Config::CONFIG["srcdir"] = $srcdir Config::CONFIG["topdir"] = $topdir CONFIG["hdrdir"] = ($hdrdir == top_srcdir) ? top_srcdir : "$(topdir)"+top_srcdir[2..-1] |