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:
commit
13b79e7b1a
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user