Repository navigation
Commit 7ae0f4b
Strip duplicate LC_RPATH from extensions on macOS
The conda-forge compilers inject -Wl,-rpath,$PREFIX/lib three times per
link, producing duplicate LC_RPATH load commands. macOS 15's dyld
rejects duplicate LC_RPATH at load time, so the freshly switched
macos-15-large runners failed every test with an ImportError on dlopen.
macos-14's older dyld tolerated the duplicates.
Add a macOS-only post-build step that uses install_name_tool to remove
the redundant LC_RPATH entries from numcodecs/*.so.
Co-Authored-By: Claude Opus 4.8 <[email protected]>1 parent 64eade5 commit 7ae0f4b
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
55 | 71 | | |
56 | 72 | | |
57 | 73 | | |
| |||
0 commit comments