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 | 7c899cde2bab2b76277005dcc2f4330f512f3883 (patch) | |
| tree | 9d0681366667321c06ee03fbf367bc65319debde /ext | |
| parent | 45559c50ae90784cb0d8baf077ee5c4f2be8b100 (diff) | |
| download | ruby-7c899cde2bab2b76277005dcc2f4330f512f3883.tar.gz ruby-7c899cde2bab2b76277005dcc2f4330f512f3883.tar.xz ruby-7c899cde2bab2b76277005dcc2f4330f512f3883.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/branches/ruby_1_8@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 edff04988..859538fe5 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] |
