summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authornagachika <nagachika@ruby-lang.org>2022-10-15 16:32:00 +0900
committernagachika <nagachika@ruby-lang.org>2022-10-15 16:32:00 +0900
commitd3f464094d9a1308a32d34faa9055fa86c916828 (patch)
tree5fe9f103ba4de9c24e9db4523cbdff0f2accaded /tool
parent69f7bc8675ed467259a41312e2f62b3d578d2a10 (diff)
merge revision(s) 3112475469e35b522448858d23ee1651532276e7:
Skip build extensions again on mswin and mingw --- tool/rbinstall.rb | 3 +++ 1 file changed, 3 insertions(+)
Diffstat (limited to 'tool')
-rwxr-xr-xtool/rbinstall.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb
index 4832d60487..2e1b6d4bd8 100755
--- a/tool/rbinstall.rb
+++ b/tool/rbinstall.rb
@@ -848,6 +848,9 @@ module RbInstall
def write_cache_file
end
+ def build_extensions
+ end if /mswin|mingw/ =~ RUBY_PLATFORM
+
def shebang(bin_file_name)
path = File.join(gem_dir, spec.bindir, bin_file_name)
first_line = File.open(path, "rb") {|file| file.gets}