1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Skip build extensions again on cross compiling too

This commit is contained in:
Kazuhiro NISHIYAMA 2022-04-13 14:40:24 +09:00
parent 3112475469
commit 7e4ac434b9
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

View file

@ -854,7 +854,7 @@ module RbInstall
end
def build_extensions
end if /mswin|mingw/ =~ RUBY_PLATFORM
end if /mswin|mingw/ =~ RUBY_PLATFORM || RbConfig::CONFIG["CROSS_COMPILING"] == "yes"
def shebang(bin_file_name)
path = File.join(gem_dir, spec.bindir, bin_file_name)