Skip to content

Make macOS binaries fully relocatable

Andoni Morales Alastruey requested to merge ylatuya/cerbero:issue-23 into master

This merge request addresses #27 (closed) providing support for fully relocatable binaries in macOS.

The binaries relocation is now run as an extra build step in macOS, run after the post_install step, so after building a recipe the binaries are relocated and it does not need to be done in the packaging process.

The new relocation method uses the @rpath's replacement variable and adds the following rpath's:

  • @loader_path/..
  • @executable_path/..
  • @loader_path/../lib
  • @executable_path/../lib

The CI's should be wiped after this change is merged in master

Edited by Andoni Morales Alastruey

Merge request reports