From 06c1a64ebb88474da466caae1ddfa0e72e9da284 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 8 Apr 2005 11:18:17 +0000 Subject: * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@8278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/extmk.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/extmk.rb') diff --git a/ext/extmk.rb b/ext/extmk.rb index dd3bcfeb2e..aa6200e370 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] -- cgit v1.2.3