-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Open
Open
Copy link
Labels
buildThe build process and cross-buildThe build process and cross-buildtype-featureA feature request or enhancementA feature request or enhancement
Description
Feature or enhancement
Proposal:
Right now, since we don't set RPATH
, when using a shared libpython
and running Python from the build directory, the library might resolve to the system, instead of the local one.
If possible, it would be good to set RPATH
on the Python binary in the build directory, to force the local libpython
library to be loaded. It would also be preferred to use RPATH
instead of RUNPATH
, as the prior has precedence over LD_LIBRARY_PATH
, which users might have set.
Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
Linked PRs
Metadata
Metadata
Assignees
Labels
buildThe build process and cross-buildThe build process and cross-buildtype-featureA feature request or enhancementA feature request or enhancement