Skip to content
Snippets Groups Projects
Commit 27fc2aba authored by Mike McQuaid's avatar Mike McQuaid
Browse files

shared: handle missing Xcode/CLT version.

parent 6878577d
No related branches found
No related tags found
No related merge requests found
module SharedEnvExtension
def no_weak_imports?
return false unless compiler == :clang
MacOS::Xcode.version >= "8.0" || MacOS::CLT.version >= "8.0"
if MacOS::Xcode.version && MacOS::Xcode.version < "8.0"
return false
end
if MacOS::CLT.version && MacOS::CLT.version < "8.0"
return false
end
true
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment