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 | af57cffeb0526c57a6f7c93e0967ac1bddf396fa (patch) | |
| tree | a54b0ac1a55c7a2a7c126eae1af6f45a73af1fee /Library/Homebrew/extend | |
| parent | d6bca69347cdd3a9b9e91540a1333b9ca496578c (diff) | |
| download | brew-af57cffeb0526c57a6f7c93e0967ac1bddf396fa.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 Homebrew/homebrew#38514.
Closes Homebrew/homebrew#38735.
Diffstat (limited to 'Library/Homebrew/extend')
| -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 |
