summaryrefslogtreecommitdiff
path: root/tool/fake.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/fake.rb')
-rw-r--r--tool/fake.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/tool/fake.rb b/tool/fake.rb
index 631444e..03d2e4d 100644
--- a/tool/fake.rb
+++ b/tool/fake.rb
@@ -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