Skip to content

Fixes relative to RPATH handfling #788

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

dnicolodi
Copy link
Member

Builds on top of #783 and replaces #724

This entries are not meaningful. This has the additional benefit of
not returning an empty string RPATH entry for binaries with RPATH unset.
This reorganizes the test package to a flatter layout that helps
visualizing all the parts involved in the test and introduces an
asymmetry between the source layout and the installation layout that
demonstrates the bugs in the RPATH handling.
meson-python does not support `install_rpath` yet and anyhow `install_rpath`
is not exposed in the introspection data and thus cannot be set by
meson-python when building the Python wheel. Use `link_args` to set the RPATH.
macOS requires using `@loader_path` in place of `$ORIGIN`.
This shows that build RPATHs are not correctly stripped.
@dnicolodi dnicolodi force-pushed the rpath-fixes branch 4 times, most recently from f2536cf to 3c3bcf5 Compare August 10, 2025 15:50
This does not introduce any functional changes.
There is no need to perform the check for every native file installed.
for packages using internal shared libraries relocated by meson-python.
@dnicolodi dnicolodi marked this pull request as draft August 10, 2025 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant