mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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.
This commit is contained in:
parent
323188360d
commit
51ae31e5b9
4 changed files with 16 additions and 3 deletions
8
configure
vendored
8
configure
vendored
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue