ruby-changes:42434
From: nobu <ko1@a...>
Date: Thu, 7 Apr 2016 09:36:27 +0900 (JST)
Subject: [ruby-changes:42434] nobu:r54508 (trunk): fake.rb: set extout
nobu 2016-04-07 10:33:04 +0900 (Thu, 07 Apr 2016) New Revision: 54508 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54508 Log: fake.rb: set extout * tool/fake.rb (prehook): set "extout" in RbConfig to configure extension libraries. Modified files: trunk/tool/fake.rb Index: tool/fake.rb =================================================================== --- tool/fake.rb (revision 54507) +++ tool/fake.rb (revision 54508) @@ -54,9 +54,11 @@ prehook = proc do |extmk| https://github.com/ruby/ruby/blob/trunk/tool/fake.rb#L54 mkconfig = RbConfig::MAKEFILE_CONFIG mkconfig["builddir"] = config["builddir"] = 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" trace_var(:$ruby, posthook) untrace_var(:$extmk, prehook) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/