Commit d7acca0
Fix macOS build with Homebrew LLVM
On macOS with Homebrew LLVM, explicitly adding LLVM_INCLUDE_DIRS breaks
libc++ header search order (include_next can't find libc++'s wrapper
headers). The Homebrew clang compiler already knows where its LLVM/Clang
headers are located, so we don't need to add them explicitly.
On Linux and other platforms, we still add the include paths explicitly
since system LLVM packages don't interfere with the stdlib.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent d8a1169 commit d7acca0
1 file changed
Lines changed: 10 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
143 | 146 | | |
144 | 147 | | |
145 | 148 | | |
| |||
0 commit comments