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 | 3b7de4c4b51b9c15f5aafc0b6187cca8a9f14858 (patch) | |
| tree | 55bc9554e4dc729ff0d9f5b6270d6417ffc175d0 | |
| parent | 551d43dbeea9af1d65e800e96336aec2c82e4227 (diff) | |
| download | ruby-3b7de4c4b51b9c15f5aafc0b6187cca8a9f14858.tar.gz ruby-3b7de4c4b51b9c15f5aafc0b6187cca8a9f14858.tar.xz ruby-3b7de4c4b51b9c15f5aafc0b6187cca8a9f14858.zip | |
* ext/extmk.rb (extmake): top_srcdir is based from ext directory.
git-svn-id: http://svn.ruby-lang.org/repos/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 d7d4d2fbd..dd3bcfeb2 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 |
