Merge pull request #6612 from MikeMcQuaid/clt-clang-version-fallback

os/mac/xcode: fallback to clang version for detecting CLT.
This commit is contained in:
Mike McQuaid 2019-10-16 16:53:37 +01:00 committed by GitHub
commit 13b79e7b1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -320,9 +320,10 @@ module OS
next unless File.exist?("#{PKG_PATH}/usr/bin/clang")
version = MacOS.pkgutil_info(id)[/version: (.+)$/, 1]
break if version
return version if version
end
version
detect_clang_version
end
end
end