diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-04-07 15:21:04 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-04-07 15:21:04 +0000 |
commit | 69af75c28f450283ee7e3c87c217fac5447133d7 (patch) | |
tree | 55bc9554e4dc729ff0d9f5b6270d6417ffc175d0 | |
parent | 9ea857d7ee2ee9ccb8527751c27422f6dbc9a87b (diff) | |
download | ruby-69af75c28f450283ee7e3c87c217fac5447133d7.tar.gz |
* 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
-rw-r--r-- | ext/extmk.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |