bpo-40684: Fix make install for platlibdir=lib64#20736
bpo-40684: Fix make install for platlibdir=lib64#20736vstinner merged 1 commit intopython:masterpython/cpython:masterfrom vstinner:install_platlibdirCopy head branch name to clipboard
Conversation
|
Currently, --libdir=/usr/lib64 updates BINLIBDEST and DESTSHARED. With this change, BINLIBDEST and DESTSHARED no longer depend on LIBDIR but always use @hroncok @mcepl @ned-deily @zware: Would you mind to review this change? I'm not comfortable with changing the build system :-/ See https://bugs.python.org/issue40684 for the context and the bug. |
|
To reduce the risk of regression, one option would be to continue to use |
"make install" now uses the PLATLIBDIR variable for the destination lib-dynload/ directory when ./configure --with-platlibdir is used. Update --with-platlibdir comment in configure.
Done. This PR has no more effect by default. Now it only changes BINLIBDEST when --with-platlibdir is used. |
|
+1 from me |
|
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9. |
|
GH-20761 is a backport of this pull request to the 3.9 branch. |
"make install" now uses the PLATLIBDIR variable for the destination lib-dynload/ directory when ./configure --with-platlibdir is used. Update --with-platlibdir comment in configure. (cherry picked from commit 51ae31e) Co-authored-by: Victor Stinner <vstinner@python.org>
"make install" now uses the PLATLIBDIR variable for the destination
lib-dynload/ directory when ./configure --with-platlibdir is used.
Update --with-platlibdir comment in configure.
https://bugs.python.org/issue40684