We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9d2a46 commit d64555dCopy full SHA for d64555d
1 file changed
lib/rubygems/ext/ext_conf_builder.rb
@@ -40,7 +40,7 @@ def self.build(extension, dest_path, results, args = [], lib_dir = nil, extensio
40
end
41
42
ENV["DESTDIR"] = nil
43
- unless RbConfig::CONFIG["MAKE"]&.include?("nmake")
+ unless RUBY_PLATFORM =~ /mswin/ && RbConfig::CONFIG["configure_args"]&.include?("nmake")
44
ENV["MAKEFLAGS"] ||= "-j#{Etc.nprocessors + 1}"
45
46
0 commit comments