Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4b761bf

Browse files
committed
- merge 3.4
2 parents 42db2f6 + 1345d20 commit 4b761bf

4 files changed

Lines changed: 9 additions & 2 deletions

File tree

Makefile.pre.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1134,7 +1134,7 @@ maninstall: altmaninstall
11341134
(cd $(DESTDIR)$(MANDIR)/man1; $(LN) -s python$(VERSION).1 python3.1)
11351135

11361136
# Install the library
1137-
PLATDIR= plat-$(MACHDEP)
1137+
PLATDIR= @PLATDIR@
11381138
EXTRAPLATDIR= @EXTRAPLATDIR@
11391139
MACHDEPS= $(PLATDIR) $(EXTRAPLATDIR)
11401140
XMLLIBSUBDIRS= xml xml/dom xml/etree xml/parsers xml/sax

Modules/Setup.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ SITEPATH=
9191
TESTPATH=
9292

9393
# Path components for machine- or system-dependent modules and shared libraries
94-
MACHDEPPATH=:plat-$(MACHDEP)
94+
MACHDEPPATH=:$(PLATDIR)
9595
EXTRAMACHDEPPATH=
9696

9797
COREPYTHONPATH=$(DESTPATH)$(SITEPATH)$(TESTPATH)$(MACHDEPPATH)$(EXTRAMACHDEPPATH)

configure

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -712,6 +712,7 @@ CFLAGS
712712
CC
713713
EXPORT_MACOSX_DEPLOYMENT_TARGET
714714
CONFIGURE_MACOSX_DEPLOYMENT_TARGET
715+
PLATDIR
715716
SGI_ABI
716717
_PYTHON_HOST_PLATFORM
717718
MACHDEP
@@ -3497,6 +3498,9 @@ fi
34973498
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MACHDEP" >&5
34983499
$as_echo "$MACHDEP" >&6; }
34993500

3501+
3502+
PLATDIR=plat-$MACHDEP
3503+
35003504
# Record the configure-time value of MACOSX_DEPLOYMENT_TARGET,
35013505
# it may influence the way we can build extensions, so distutils
35023506
# needs to check it

configure.ac

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,9 @@ then
556556
fi
557557
AC_MSG_RESULT($MACHDEP)
558558

559+
AC_SUBST(PLATDIR)
560+
PLATDIR=plat-$MACHDEP
561+
559562
# Record the configure-time value of MACOSX_DEPLOYMENT_TARGET,
560563
# it may influence the way we can build extensions, so distutils
561564
# needs to check it

0 commit comments

Comments
 (0)