MacOS.sdk_path: prefer Xcode if installed
This commit is contained in:
parent
6361aa72ae
commit
e00720e872
@ -85,7 +85,7 @@ module OS
|
||||
# specifically been requested according to the rules above.
|
||||
|
||||
def sdk(v = nil)
|
||||
@locator ||= if Xcode.without_clt?
|
||||
@locator ||= if Xcode.installed?
|
||||
XcodeSDKLocator.new
|
||||
else
|
||||
CLTSDKLocator.new
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user