Skip to content
Discussion options

You must be logged in to vote

def fix_rpath(filepath: Path, libs_relative_path: str) -> None:
for path in _get_rpath(filepath):
if path.startswith('@loader_path/'):
_replace_rpath(filepath, path, '@loader_path/' + libs_relative_path)

It looks like mesonpy replaces each rpath with its own internal rpath, rather than removing the ones it doesn't want and adding a single instance of the internal rpath.

(mesonpy.libs indeed doesn't come from Meson itself -- it's added during wheel generation postprocessing.)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by eli-schwartz
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants