[前][次][番号順一覧][スレッド一覧]

ruby-changes:69733

From: Hiroshi <ko1@a...>
Date: Mon, 15 Nov 2021 16:52:24 +0900 (JST)
Subject: [ruby-changes:69733] cc50e57bf5 (master): Relax extention name for macOS

https://git.ruby-lang.org/ruby.git/commit/?id=cc50e57bf5

From cc50e57bf5e002c0535c2166b94109dacf46d1f4 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Mon, 15 Nov 2021 16:51:03 +0900
Subject: Relax extention name for macOS

---
 tool/test-bundled-gems.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tool/test-bundled-gems.rb b/tool/test-bundled-gems.rb
index 3b9261d2ff1..b70576103ab 100644
--- a/tool/test-bundled-gems.rb
+++ b/tool/test-bundled-gems.rb
@@ -24,7 +24,7 @@ File.foreach("#{gem_dir}/bundled_gems") do |line| https://github.com/ruby/ruby/blob/trunk/tool/test-bundled-gems.rb#L24
 
   if gem == "typeprof"
     rbs_build_dir = 'ext/-test-/gems/rbs'
-    raise "need to run rbs test suite before typeprof" unless File.readable?("#{rbs_build_dir}/rbs_extension.so")
+    raise "need to run rbs test suite before typeprof" unless File.readable?("#{rbs_build_dir}/rbs_extension.#{RbConfig::CONFIG['DLEXT']}")
     ENV["RUBYLIB"] = ["#{gem_dir}/src/rbs/lib", ENV.fetch("RUBYLIB", nil)].compact.join(":")
   end
 
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]