Commit d9fb515
committed
ci(macos): build pip C extensions with Apple clang
python-ldap failed to link with 'ld: library ldap_r not found': the
Homebrew llvm@14 clang (on PATH for the analyzer) cannot link against the
current macOS SDK's .tbd libraries. Apple's clang handles the SDK
natively, so set CC/CXX to it for pip builds. The analyzer selects its
binary independently of $CC, so analysis still uses clang@14. Verified
locally that Apple clang links -lldap_r -llber against the SDK.1 parent 2eecca4 commit d9fb515
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
59 | 67 | | |
0 commit comments