ruby-changes:71713
From: Kazuhiro <ko1@a...>
Date: Wed, 13 Apr 2022 14:41:11 +0900 (JST)
Subject: [ruby-changes:71713] 7e4ac434b9 (master): Skip build extensions again on cross compiling too
https://git.ruby-lang.org/ruby.git/commit/?id=7e4ac434b9 From 7e4ac434b923739b540ce21cba307c4d0515d72e Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA <zn@m...> 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 https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L854 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.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/