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 | 85ede0413d3da56ede6b88f1a6e9a87be6280662 (patch) | |
| tree | 29bf59937cbe2406d159ca90ae0c7af7fbf1db06 | |
| parent | 2f9211eaa9d6844a3f8777587212804d70d82a18 (diff) | |
| download | ruby-85ede0413d3da56ede6b88f1a6e9a87be6280662.tar.gz ruby-85ede0413d3da56ede6b88f1a6e9a87be6280662.tar.xz ruby-85ede0413d3da56ede6b88f1a6e9a87be6280662.zip | |
* ext/extmk.rb (extmake): top_srcdir is based from ext directory.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@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 05d9c26e5..edff04988 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 |
