diff options
author | Nobuyoshi Nakada <[email protected]> | 2020-04-05 03:57:05 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2020-04-05 09:26:57 +0900 |
commit | 21d0b40de2897ac2e98104cb3d33cd374a4402ee (patch) | |
tree | 66172b7fc8c7fa391cc2bba8ab77fb9e69256577 /lib/mkmf.rb | |
parent | 5e2463b242d1c7fc9f0bad11daa2a8a288dc28e3 (diff) |
Added tooldir variable
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3003
Diffstat (limited to 'lib/mkmf.rb')
-rw-r--r-- | lib/mkmf.rb | 2 |
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 |