diff options
| author | Tim D. Smith | 2015-04-15 14:24:02 -0700 |
|---|---|---|
| committer | Tim D. Smith | 2015-04-19 13:41:26 -0700 |
| commit | fd5ca9ba16f5afc181364369210cb94e997a5a5e (patch) | |
| tree | 396f774527404cce1b6ca276e8d80ffe70912017 /Library/Homebrew | |
| parent | a8d1f3c25cfacfa13e7e96ec6ff1516c9cf0ebd2 (diff) | |
| download | homebrew-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.rb | 10 |
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 |
