-
- Downloads
file(GET_RUNTIME_DEPENDENCIES): Fix weak macOS libraries not detected
Starting with Clang 12, `otool -l` reports `LC_LOAD_WEAK_DYLIB` instead of `LC_LOAD_DYLIB` for weakly linked libraries. Update the implementation of `file(GET_RUNTIME_DEPENDENCIES)` to recognize these. Fixes: #21684
Showing
- Source/cmBinUtilsMacOSMachOOToolGetRuntimeDependenciesTool.cxx 1 addition, 1 deletion...e/cmBinUtilsMacOSMachOOToolGetRuntimeDependenciesTool.cxx
- Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/macos-all-check.cmake 22 additions, 0 deletions...CMake/file-GET_RUNTIME_DEPENDENCIES/macos-all-check.cmake
- Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/macos.cmake 13 additions, 2 deletionsTests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/macos.cmake
Please register or sign in to comment