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 | 0ec9d6c17beaf1bc554ced948ebe8e63df319255 (patch) | |
tree | 29bf59937cbe2406d159ca90ae0c7af7fbf1db06 /ext/extmk.rb | |
parent | d882436a8b4e9da97b5c51601301ed3f3588ad5d (diff) |
* ext/extmk.rb (extmake): top_srcdir is based from ext directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/extmk.rb')
-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 05d9c26e5a..edff049886 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 |