summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-06-09 13:54:54 (GMT)
committerGitHub <noreply@github.com>2020-06-09 13:54:54 (GMT)
commit6cb24a035c5980cab39b6dc5d70762af07293bea (patch)
treeddb6889a2956a464206dd24c03b48c79aa4c0a13 /configure
parent1a819ca1877cebb79b9a889de497dc638b4cf635 (diff)
downloadcpython-6cb24a035c5980cab39b6dc5d70762af07293bea.zip
cpython-6cb24a035c5980cab39b6dc5d70762af07293bea.tar.gz
cpython-6cb24a035c5980cab39b6dc5d70762af07293bea.tar.bz2
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. (cherry picked from commit 51ae31e5b93b986e57a7e18e25f981a6ffcdefb7) Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure b/configure
index b37c695..ca18d2f 100755
--- a/configure
+++ b/configure
@@ -632,6 +632,7 @@ THREADHEADERS
LIBPL
PY_ENABLE_SHARED
PLATLIBDIR
+BINLIBDEST
LIBPYTHON
EXT_SUFFIX
ALT_SOABI
@@ -15330,7 +15331,11 @@ else
fi
-# Check for --with-libdir-name
+
+BINLIBDEST='$(LIBDIR)/python$(VERSION)'
+
+
+# Check for --with-platlibdir
# /usr/$LIDIRNAME/python$VERSION
PLATLIBDIR="lib"
@@ -15349,6 +15354,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; }