cucumber-cpp: fix test on Mojave (#47035)
This commit is contained in:
parent
ccb31c43f2
commit
5d02fe0210
1 changed files with 4 additions and 1 deletions
|
@ -33,7 +33,10 @@ class CucumberCpp < Formula
|
|||
test do
|
||||
ENV["GEM_HOME"] = testpath
|
||||
ENV["BUNDLE_PATH"] = testpath
|
||||
if MacOS.version == :high_sierra
|
||||
if MacOS.version >= :mojave && MacOS::CLT.installed?
|
||||
ENV.delete("CPATH")
|
||||
ENV["SDKROOT"] = MacOS::CLT.sdk_path(MacOS.version)
|
||||
elsif MacOS.version == :high_sierra
|
||||
ENV.delete("CPATH")
|
||||
ENV.delete("SDKROOT")
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue