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
1 changed files with 1 additions and 1 deletions

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