From e00720e8729bb5f5d8273bfb75e070e1028daed3 Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Tue, 24 Jul 2018 17:05:41 -0700 Subject: [PATCH] MacOS.sdk_path: prefer Xcode if installed --- Library/Homebrew/os/mac.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb index 09b34ad87d..f643f13fd1 100644 --- a/Library/Homebrew/os/mac.rb +++ b/Library/Homebrew/os/mac.rb @@ -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