summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-04-05 03:57:05 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-04-05 09:26:57 +0900
commit21d0b40de2897ac2e98104cb3d33cd374a4402ee (patch)
tree66172b7fc8c7fa391cc2bba8ab77fb9e69256577 /lib
parent5e2463b242d1c7fc9f0bad11daa2a8a288dc28e3 (diff)
Added tooldir variable
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3003
Diffstat (limited to 'lib')
-rw-r--r--lib/mkmf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index f23f34c312..3abf168d20 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
@@ -1970,7 +1970,7 @@ VPATH = #{vpath.join(CONFIG['PATH_SEPARATOR'])}
else
sep = ""
end
- possible_command = (proc {|s| s if /top_srcdir/ !~ s} unless $extmk)
+ possible_command = (proc {|s| s if /top_srcdir|tooldir/ !~ s} unless $extmk)
extconf_h = $extconf_h ? "-DRUBY_EXTCONF_H=\\\"$(RUBY_EXTCONF_H)\\\" " : $defs.join(" ") << " "
headers = %w[
$(hdrdir)/ruby.h