Skip to content

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