mirror of
https://github.com/gosticks/brew.git
synced 2026-08-12 04:30:21 +00:00
An executable that links against @rpath-prefixed dylibs must include at least one runtime path. This will prevent issues like the one resolved in #91485. Caveats: 1. This won't find executables that have only recursive dylib dependencies with @rpath prefixes. 2. This makes no attempt to resolve @rpath, @executable_path or @loader_path dylibs, or to verify the correctness of any LC_RPATH entries, or to otherwise simulate dlopen logic. 3. Weakly-linked dylibs are still excluded from the search for broken linkage. The scope is narrow in order to focus on this particular problem. It is meant only as a sanity check.