Skip to content

ENH: do not remove absolute build RPATH entries - #914

Open
dnicolodi wants to merge 3 commits into
mesonbuild:mainfrom
dnicolodi:fix/absolute-build-rpaths
Open

dnicolodi wants to merge 3 commits into
mesonbuild:mainfrom
dnicolodi:fix/absolute-build-rpaths

Conversation

@dnicolodi

@dnicolodi dnicolodi commented Sep 29, 2026 •

Copy link
Copy Markdown
Member

Meson adds RPATH entries for shared libraries compiled as part of
the project and shared libraries from dependencies installed in
non-standard locations. The first are relative paths using the
$ORIGIN or @loader_path anchor. The seconds are absolute paths.
For the resulting binaries to be able to dynamically link to local
dependencies, we want to remove the first but keep the seconds.

Fixes #912.

dnicolodi and others added 3 commits September 29, 2026 17:27
Meson adds RPATH entries for shared libraries compiled as part of
the project and shared libraries from dependencies installed in
non-standard locations.  The first are relative paths using the
$ORIGIN or @loader_path anchor.  The seconds are absolute paths.
For the resulting binaries to be able to dynamically link to local
dependencies, we want to remove the first but keep the seconds.

Fixes mesonbuild#912.
Discover GEOS through pkg-config without supplying an explicit runtime path, then verify that the installed wheel can import and query the linked library version. Skip when GEOS is unavailable.
Share locked base dependencies, including GEOS, between environments with and without conda C/C++ compilers. Run them as pixi and pixi-system-compilers jobs.

This branch has not been deployed

No deployments
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.

conda libraries no longer found at runtime (when meson uses system compiler for the python extension)

2 participants