From 359cdafb861fa8e4c65b308f103a56533b5f26ab Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Fri, 18 Sep 2015 15:55:21 +0100 Subject: doctor: don't false-flag sdk with clt --- Library/Homebrew/cmd/doctor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 386c89891..dae10c280 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -576,7 +576,7 @@ class Checks # Xcode 7 lacking the 10.10 SDK is forcing sysroot to be declared # nil on 10.10 & breaking compiles. CLT is workaround. def check_sdk_path_not_nil_yosemite - if MacOS.version == :yosemite && MacOS::Xcode.installed? && MacOS.sdk_path.nil? + if MacOS.version == :yosemite && !MacOS::CLT.installed? && MacOS::Xcode.installed? && MacOS.sdk_path.nil? <<-EOS.undent Xcode 7 lacks the 10.10 SDK which can cause some builds to fail. We recommend installing the Command Line Tools with: -- cgit v1.2.3