diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2022-04-13 14:40:24 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2022-04-13 14:40:24 +0900 |
commit | 7e4ac434b923739b540ce21cba307c4d0515d72e (patch) | |
tree | a9edcd7909cc242a4e69b4bad88e2a08adfed787 | |
parent | 3112475469e35b522448858d23ee1651532276e7 (diff) |
Skip build extensions again on cross compiling too
-rwxr-xr-x | tool/rbinstall.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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) |