diff options
| author | Brad King <brad.king@kitware.com> | 2025-04-15 17:43:03 (GMT) |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2025-04-15 18:13:45 (GMT) |
| commit | 6e63080d39c04bbc1fdff12d7cb6a7a299cf08b2 (patch) | |
| tree | 24b4de24b9af25b7a45b09bd3a4ab1a0665de83b /Tests/FindPython/Python3Module | |
| parent | 430174e65d3d0883c91a8db0adbf80c9660cfd20 (diff) | |
| download | CMake-6e63080d39c04bbc1fdff12d7cb6a7a299cf08b2.zip CMake-6e63080d39c04bbc1fdff12d7cb6a7a299cf08b2.tar.gz CMake-6e63080d39c04bbc1fdff12d7cb6a7a299cf08b2.tar.bz2 | |
macOS: Restore RPATH entry for libraries linked from /usr/local/lib
Since commit 7b19531291 (macOS: Do not pass any SDK/-isysroot to
compilers by default, 2024-11-06, v4.0.0-rc1~511^2) our default
invocation of compilers targeting macOS no longer passes `-isysroot`.
Without that, Xcode's compilers search `-L/usr/local/lib` by default
even though the macOS dynamic loader does not. Since `/usr/local/lib`
is not a fully-implemented implicit link directory, exclude it from our
detected `CMAKE_<LANG>_IMPLICIT_LINK_LIBRARIES` so that our generators
do not suppress `RPATH` entries for dependencies in that directory.
Fixes: #26867
Diffstat (limited to 'Tests/FindPython/Python3Module')
0 files changed, 0 insertions, 0 deletions
