1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Relax extention name for macOS

This commit is contained in:
Hiroshi SHIBATA 2021-11-15 16:51:03 +09:00
parent 021255f1e7
commit cc50e57bf5
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -24,7 +24,7 @@ File.foreach("#{gem_dir}/bundled_gems") do |line|
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