mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
9ea857d7ee
commit
69af75c28f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue