mirror of
https://github.com/gosticks/brew.git
synced 2026-09-02 06:50:21 +00:00
About 40 formulae set `CMAKE_INSTALL_RPATH` to `lib` or `opt_lib`, but this breaks bottle relocatability. The correct solution is to use `@loader_path/../lib`, but this is macOS specific, so it requires some OS-specific logic. Rather than replicating this logic over many formulae, we may as well define a helper method for it. See https://github.com/Homebrew/homebrew-core/issues/75458.