mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fake.rb: buildlibdir
* tool/fake.rb: set "buildlibdir" to the build directory, instead of "builddir" which is filterd by MakeMakefile#configuration. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
599f054fe6
commit
44c938c923
1 changed files with 2 additions and 1 deletions
|
@ -53,13 +53,14 @@ prehook = proc do |extmk|
|
|||
config = RbConfig::CONFIG
|
||||
mkconfig = RbConfig::MAKEFILE_CONFIG
|
||||
mkconfig["builddir"] = config["builddir"] = builddir
|
||||
mkconfig["buildlibdir"] = config["buildlibdir"] = builddir
|
||||
mkconfig["top_srcdir"] = $top_srcdir if $top_srcdir
|
||||
mkconfig["extout"] ||= $extout
|
||||
config["top_srcdir"] = File.expand_path($top_srcdir ||= top_srcdir)
|
||||
config["rubyhdrdir"] = join[$top_srcdir, "include"]
|
||||
config["rubyarchhdrdir"] = join[builddir, config["EXTOUT"], "include", config["arch"]]
|
||||
config["extout"] ||= join[$topdir, ".ext"]
|
||||
mkconfig["libdirname"] = "builddir"
|
||||
mkconfig["libdirname"] = "buildlibdir"
|
||||
trace_var(:$ruby, posthook)
|
||||
untrace_var(:$extmk, prehook)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue