File tree Expand file tree Collapse file tree 4 files changed +16
-3
lines changed Expand file tree Collapse file tree 4 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ SCRIPTDIR= $(prefix)/$(PLATLIBDIR)
148
148
ABIFLAGS= @ABIFLAGS@
149
149
150
150
# Detailed destination directories
151
- BINLIBDEST= $(LIBDIR)/python$(VERSION)
151
+ BINLIBDEST= @BINLIBDEST@
152
152
LIBDEST= $(SCRIPTDIR)/python$(VERSION)
153
153
INCLUDEPY= $(INCLUDEDIR)/python$(LDVERSION)
154
154
CONFINCLUDEPY= $(CONFINCLUDEDIR)/python$(LDVERSION)
Original file line number Diff line number Diff line change
1
+ ``make install `` now uses the ``PLATLIBDIR `` variable for the destination
2
+ ``lib-dynload/ `` directory when ``./configure --with-platlibdir `` is used.
Original file line number Diff line number Diff line change @@ -632,6 +632,7 @@ THREADHEADERS
632
632
LIBPL
633
633
PY_ENABLE_SHARED
634
634
PLATLIBDIR
635
+ BINLIBDEST
635
636
LIBPYTHON
636
637
EXT_SUFFIX
637
638
ALT_SOABI
@@ -15334,7 +15335,11 @@ else
15334
15335
fi
15335
15336
15336
15337
15337
- # Check for --with-libdir-name
15338
+
15339
+ BINLIBDEST='$(LIBDIR)/python$(VERSION)'
15340
+
15341
+
15342
+ # Check for --with-platlibdir
15338
15343
# /usr/$LIDIRNAME/python$VERSION
15339
15344
15340
15345
PLATLIBDIR="lib"
@@ -15353,6 +15358,7 @@ then
15353
15358
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15354
15359
$as_echo "yes" >&6; }
15355
15360
PLATLIBDIR="$withval"
15361
+ BINLIBDEST='${exec_prefix}/${PLATLIBDIR}/python$(VERSION)'
15356
15362
else
15357
15363
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15358
15364
$as_echo "no" >&6; }
Original file line number Diff line number Diff line change @@ -4770,7 +4770,11 @@ else
4770
4770
fi
4771
4771
4772
4772
4773
- # Check for --with-libdir-name
4773
+ AC_SUBST ( BINLIBDEST )
4774
+ BINLIBDEST='$(LIBDIR)/python$(VERSION)'
4775
+
4776
+
4777
+ # Check for --with-platlibdir
4774
4778
# /usr/$LIDIRNAME/python$VERSION
4775
4779
AC_SUBST ( PLATLIBDIR )
4776
4780
PLATLIBDIR="lib"
@@ -4787,6 +4791,7 @@ if test -n "$withval" -a "$withval" != yes -a "$withval" != no
4787
4791
then
4788
4792
AC_MSG_RESULT ( yes )
4789
4793
PLATLIBDIR="$withval"
4794
+ BINLIBDEST='${exec_prefix}/${PLATLIBDIR}/python$(VERSION)'
4790
4795
else
4791
4796
AC_MSG_RESULT ( no )
4792
4797
fi] ,
You can’t perform that action at this time.
0 commit comments