Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upbpo-40684: Fix make install for platlibdir=lib64 #20736
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 |
51ae31e
into
python:master
|
Thanks @vstinner for the PR |
bedevere-bot
commented
Jun 9, 2020
|
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.
"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.
…ch-2 * 'patch-2' of https://github.com/vegerot/cpython: (1585 commits) bpo-35019: Add tests for IPAddress in asyncio Remove usesless function from csv module (pythonGH-20762) bpo-40684: Fix make install for platlibdir=lib64 (pythonGH-20736) Remove reference to 3.7 and 3.8 backports. (pythonGH-20754) Minor improvement to the namedtuple implementation (pythonGH-20741) bpo-24914: mention Python supports multiple paradigms in the FAQ (python#20658) bpo-40854: PYTHONPLATLIBDIR env var added to 3.9 (pythonGH-20735) Add multicore support to deccheck.py. (pythonGH-20731) Remove deleted libmpdec header from the Visual Studio build machinery. (pythonGH-20730) bpo-40861: Enable optimizations when building liblzma (pythonGH-20724) bpo-40910: Export Py_GetArgcArgv() function (pythonGH-20721) bpo-40854: Allow overriding sys.platlibdir via PYTHONPLATLIBDIR env-var (pythonGH-20605) bpo-29882: Add _Py_popcount32() function (pythonGH-20518) bpo-33187: Document 3.9 changes to xml.etree.ElementInclude.include (pythonGH-20438) allow macOS installer builds to package pre-built html docs (pythonGH-20715) Deny eval() direct access to builtins (pythonGH-20713) bpo-22021: Update root_dir and base_dir documentation in shutil (pythonGH-10367) bpo-40741: Update macOS installer to use SQLite 3.32.2. (pythonGH-20705) bpo-40903: Handle multiple '=' in invalid assignment rules in the PEG parser (pythonGH-20697) bpo-39791 native hooks for importlib.resources.files (pythonGH-20576) ...
vstinner commentedJun 8, 2020
•
edited
"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