From 7e4ac434b923739b540ce21cba307c4d0515d72e Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Wed, 13 Apr 2022 14:40:24 +0900 Subject: Skip build extensions again on cross compiling too --- tool/rbinstall.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index bce02f8624..c40da1a4f3 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -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) -- cgit v1.2.3