Skip to content

Commit 7e4ac43

Browse files
committed
Skip build extensions again on cross compiling too
1 parent 3112475 commit 7e4ac43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tool/rbinstall.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ def write_cache_file
854854
end
855855

856856
def build_extensions
857-
end if /mswin|mingw/ =~ RUBY_PLATFORM
857+
end if /mswin|mingw/ =~ RUBY_PLATFORM || RbConfig::CONFIG["CROSS_COMPILING"] == "yes"
858858

859859
def shebang(bin_file_name)
860860
path = File.join(gem_dir, spec.bindir, bin_file_name)

0 commit comments

Comments
 (0)