ruby-changes:49375
From: nobu <ko1@a...>
Date: Wed, 27 Dec 2017 10:26:27 +0900 (JST)
Subject: [ruby-changes:49375] nobu:r61490 (trunk): fake.rb: set libdir
nobu 2017-12-27 10:26:22 +0900 (Wed, 27 Dec 2017) New Revision: 61490 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61490 Log: 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. Modified files: trunk/tool/fake.rb Index: tool/fake.rb =================================================================== --- tool/fake.rb (revision 61489) +++ tool/fake.rb (revision 61490) @@ -57,6 +57,7 @@ prehook = proc do |extmk| https://github.com/ruby/ruby/blob/trunk/tool/fake.rb#L57 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) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/