diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-27 01:26:22 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-27 01:26:22 +0000 |
commit | 42c6ef00afc0164a2ac11fc344a0b379e14fddf5 (patch) | |
tree | 4eda626f21606b1a5b455ddfbadefd9b5d8ff19d | |
parent | 79487218dd3694fa0172e8737658130668b8cf43 (diff) |
fake.rb: set libdir
* tool/fake.rb: set "libdir" to build directory too, so that
spec/ruby/optional/capi/spec_helper.rb can find libruby_so.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | tool/fake.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/fake.rb b/tool/fake.rb index 99fc24e775..7b29e55f61 100644 --- a/tool/fake.rb +++ b/tool/fake.rb @@ -57,6 +57,7 @@ prehook = proc do |extmk| mkconfig = RbConfig::MAKEFILE_CONFIG mkconfig["builddir"] = config["builddir"] = builddir mkconfig["buildlibdir"] = config["buildlibdir"] = builddir + mkconfig["libdir"] = config["libdir"] = builddir mkconfig["top_srcdir"] = $top_srcdir if $top_srcdir mkconfig["extout"] ||= $extout config["top_srcdir"] = File.expand_path($top_srcdir ||= top_srcdir) |