From 69af75c28f450283ee7e3c87c217fac5447133d7 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 7 Apr 2005 15:21:04 +0000 Subject: [PATCH] * ext/extmk.rb (extmake): top_srcdir is based from ext directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/extmk.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/extmk.rb b/ext/extmk.rb index d7d4d2fbd2..dd3bcfeb2e 100644 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -117,7 +117,7 @@ def extmake(target) unless $ignore Config::CONFIG["srcdir"] = $srcdir Config::CONFIG["topdir"] = $topdir - CONFIG["hdrdir"] = ($hdrdir == top_srcdir) ? top_srcdir : "$(topdir)/"+top_srcdir + CONFIG["hdrdir"] = ($hdrdir == top_srcdir) ? top_srcdir : "$(topdir)"+top_srcdir[2..-1] CONFIG["srcdir"] = "$(hdrdir)/ext/#{$mdir}" CONFIG["topdir"] = $topdir begin