https://github.com/Kitware/CMake
Revision c51400033ce77b100f222b309cf893bd814ffc37 authored by Brad King on 10 July 2020, 14:19:21 UTC, committed by Brad King on 13 July 2020, 12:31:59 UTC
Starting on macOS 11, the dynamic loader has a builtin cache of
system-provided dylib files.  They do not actually exist on the
filesystem.  However, runtime dependencies recorded in Mach-O binaries
can still have `LC_LOAD_DYLIB` entries referring to such dylib files by
absolute path.  The dynamic loader simply resolves the paths from its
cache.  Teach `file(GET_RUNTIME_DEPENDENCIES)` to skip dependencies on
such dylib paths.  For practical software distribution purposes they do
not exist, or at least can be assumed available on all deployments.

Issue: #20863
1 parent 6ab08c4
Raw File
Tip revision: c51400033ce77b100f222b309cf893bd814ffc37 authored by Brad King on 10 July 2020, 14:19:21 UTC
file: Update GET_RUNTIME_DEPENDENCIES for macOS 11 dylib cache
Tip revision: c514000
configure
#!/bin/sh
cmake_source_dir=`cd "\`dirname \"$0\"\`";pwd`
exec "${cmake_source_dir}/bootstrap" "$@"
back to top