-
Notifications
You must be signed in to change notification settings - Fork 69
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
Handle rpath for dependency across sub-directories #509
Comments
metab0t
added a commit
to metab0t/meson-python
that referenced
this issue
Oct 4, 2023
Some library may contain RPATH like '$ORIGIN/../src' and should be fixed as well Fixes: mesonbuild#509
metab0t
added a commit
to metab0t/meson-python
that referenced
this issue
Oct 4, 2023
Some library may contain RPATH like '$ORIGIN/../src' and should be fixed as well Fixes: mesonbuild#509
dnicolodi
pushed a commit
to metab0t/meson-python
that referenced
this issue
Oct 4, 2023
When shared libraries are build in a project subdir or in a subproject, the RAPTH added by meson pointing to the shared library build directory is not just '$ORIGIN/' but a longer relative path. Apply the same fix to all RPATHs that start with '$ORING/'. Fixes mesonbuild#509.
dnicolodi
pushed a commit
to metab0t/meson-python
that referenced
this issue
Oct 4, 2023
When shared libraries are build in a project subdir or in a subproject, the RAPTH added by meson pointing to the shared library build directory is not just '$ORIGIN/' but a longer relative path. Apply the same fix to all RPATHs that start with '$ORING/'. Fixes mesonbuild#509.
dnicolodi
pushed a commit
that referenced
this issue
Oct 5, 2023
When shared libraries are build in a project subdir or in a subproject, the RAPTH added by meson pointing to the shared library build directory is not just '$ORIGIN/' but a longer relative path. Apply the same fix to all RPATHs that start with '$ORING/'. Fixes #509.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If a project has two directories: dirA and dirB
meson.build
dirB\meson.build
meson.build
Then the
libB.so
will haverpath=['$ORIGIN/../dirA']
, which cannot be fixed by current mechanism (only applicable to$ORIGIN/
)meson-python/mesonpy/_rpath.py
Line 30 in 36e8205
Sample folder:
link-against-local-lib.tar.gz
The text was updated successfully, but these errors were encountered: