Skip to content

Relocatable bottles for formulae that use CMAKE_INSTALL_RPATH #75458

@carlocab

Description

@carlocab

We currently have a number of formulae that use CMAKE_INSTALL_RPATH set to lib or opt_lib. This breaks relocatability on macOS. For example, see 52203dd, and its parent, 068fcb9.

Instead, CMAKE_INSTALL_RPATH should be set to @loader_path/../lib, but only on macOS, as @loader_path is macOS-specific.

Example PRs: #75450, #75449, #75457.

Formulae that use CMAKE_INSTALL_RPATH:

I imagine I'll get through this list eventually, but help would be appreciated.


Bonus, for settings CMAKE_EXE_LINKER_FLAGS:

Metadata

Metadata

Assignees

Labels

help wantedTask(s) needing PRs from the community or maintainersoutdatedPR was locked due to age

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions