diff options
author | Hiroshi SHIBATA <[email protected]> | 2022-08-03 12:24:38 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2022-08-03 13:14:10 +0900 |
commit | 71794a75db5d3da810146da106baf7eb5e86f745 (patch) | |
tree | c354ae515036c15a96a079712f3b7427c807be18 /lib/rubygems/ext/builder.rb | |
parent | 8a1be433e8cac6ca5ded095f6fefbdc1009102b9 (diff) |
Merge rubygems/bundler HEAD
Pick from https://github.com/rubygems/rubygems/commit/8331e63263081a6aa690d8025d2957f30c4e814a
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6209
Diffstat (limited to 'lib/rubygems/ext/builder.rb')
-rw-r--r-- | lib/rubygems/ext/builder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/ext/builder.rb b/lib/rubygems/ext/builder.rb index c5a03806b9..b46f9b5cd5 100644 --- a/lib/rubygems/ext/builder.rb +++ b/lib/rubygems/ext/builder.rb @@ -26,7 +26,7 @@ class Gem::Ext::Builder RbConfig::CONFIG["configure_args"] =~ /with-make-prog\=(\w+)/ make_program_name = ENV["MAKE"] || ENV["make"] || $1 unless make_program_name - make_program_name = (/mswin/ =~ RUBY_PLATFORM) ? "nmake" : "make" + make_program_name = (RUBY_PLATFORM.include?("mswin")) ? "nmake" : "make" end make_program = Shellwords.split(make_program_name) |