* 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
This commit is contained in:
nobu 2005-04-07 15:21:04 +00:00
parent 9ea857d7ee
commit 69af75c28f
1 changed files with 1 additions and 1 deletions

View File

@ -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