diff options
author | Victor Stinner <vstinner@python.org> | 2020-06-09 15:32:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-09 15:32:43 +0200 |
commit | 51ae31e5b93b986e57a7e18e25f981a6ffcdefb7 (patch) | |
tree | a28555c9ee1fbffb12be5d28fdbaa5dcf283f0a9 /configure | |
parent | Remove reference to 3.7 and 3.8 backports. (GH-20754) (diff) | |
download | cpython-51ae31e5b93b986e57a7e18e25f981a6ffcdefb7.tar.gz cpython-51ae31e5b93b986e57a7e18e25f981a6ffcdefb7.tar.bz2 cpython-51ae31e5b93b986e57a7e18e25f981a6ffcdefb7.zip |
bpo-40684: Fix make install for platlibdir=lib64 (GH-20736)
"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.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/configure b/configure index 1124412dce4..139c2bf7de1 100755 --- a/configure +++ b/configure @@ -632,6 +632,7 @@ THREADHEADERS LIBPL PY_ENABLE_SHARED PLATLIBDIR +BINLIBDEST LIBPYTHON EXT_SUFFIX ALT_SOABI @@ -15334,7 +15335,11 @@ else fi -# Check for --with-libdir-name + +BINLIBDEST='$(LIBDIR)/python$(VERSION)' + + +# Check for --with-platlibdir # /usr/$LIDIRNAME/python$VERSION PLATLIBDIR="lib" @@ -15353,6 +15358,7 @@ then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } PLATLIBDIR="$withval" + BINLIBDEST='${exec_prefix}/${PLATLIBDIR}/python$(VERSION)' else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } |