aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorTim D. Smith2015-04-15 14:24:02 -0700
committerTim D. Smith2015-04-19 13:41:26 -0700
commitfd5ca9ba16f5afc181364369210cb94e997a5a5e (patch)
tree396f774527404cce1b6ca276e8d80ffe70912017 /Library/Homebrew
parenta8d1f3c25cfacfa13e7e96ec6ff1516c9cf0ebd2 (diff)
downloadhomebrew-fd5ca9ba16f5afc181364369210cb94e997a5a5e.tar.bz2
work around missing __debug header in Xcode CLT 6.3
uses the LLVM 3.6 debug header from: http://reviews.llvm.org/diffusion/L/browse/libcxx/tags/RELEASE_360/final/include/__debug Workaround for #38514. Closes #38735.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/extend/ENV/super.rb10
1 files changed, 9 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/ENV/super.rb b/Library/Homebrew/extend/ENV/super.rb
index 0af84f6e2..911ffa85f 100644
--- a/Library/Homebrew/extend/ENV/super.rb
+++ b/Library/Homebrew/extend/ENV/super.rb
@@ -161,7 +161,15 @@ module Superenv
end
def determine_include_paths
- keg_only_deps.map { |dep| "#{HOMEBREW_PREFIX}/opt/#{dep}/include" }.to_path_s
+ paths = keg_only_deps.map { |dep| "#{HOMEBREW_PREFIX}/opt/#{dep}/include" }
+
+ # https://github.com/Homebrew/homebrew/issues/38514
+ if MacOS.clt_installed? && MacOS.active_developer_dir.include?("CommandLineTools") &&
+ MacOS::CLT.version == "6.3.0.0.1.1428348375"
+ paths << "#{HOMEBREW_LIBRARY}/ENV/include/6.3"
+ end
+
+ paths.to_path_s
end
def determine_library_paths