- Use PLATDIR for the platform directory everywhere (refactoring only)

This commit is contained in:
doko@ubuntu.com 2015-04-13 21:59:57 +02:00
parent 7f825226e3
commit 1345d20193
4 changed files with 9 additions and 2 deletions

View File

@ -1123,7 +1123,7 @@ maninstall: altmaninstall
(cd $(DESTDIR)$(MANDIR)/man1; $(LN) -s python$(VERSION).1 python3.1)
# Install the library
PLATDIR= plat-$(MACHDEP)
PLATDIR= @PLATDIR@
EXTRAPLATDIR= @EXTRAPLATDIR@
MACHDEPS= $(PLATDIR) $(EXTRAPLATDIR)
XMLLIBSUBDIRS= xml xml/dom xml/etree xml/parsers xml/sax

View File

@ -91,7 +91,7 @@ SITEPATH=
TESTPATH=
# Path components for machine- or system-dependent modules and shared libraries
MACHDEPPATH=:plat-$(MACHDEP)
MACHDEPPATH=:$(PLATDIR)
EXTRAMACHDEPPATH=
COREPYTHONPATH=$(DESTPATH)$(SITEPATH)$(TESTPATH)$(MACHDEPPATH)$(EXTRAMACHDEPPATH)

4
configure vendored
View File

@ -711,6 +711,7 @@ CFLAGS
CC
EXPORT_MACOSX_DEPLOYMENT_TARGET
CONFIGURE_MACOSX_DEPLOYMENT_TARGET
PLATDIR
SGI_ABI
_PYTHON_HOST_PLATFORM
MACHDEP
@ -3493,6 +3494,9 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MACHDEP" >&5
$as_echo "$MACHDEP" >&6; }
PLATDIR=plat-$MACHDEP
# Record the configure-time value of MACOSX_DEPLOYMENT_TARGET,
# it may influence the way we can build extensions, so distutils
# needs to check it

View File

@ -556,6 +556,9 @@ then
fi
AC_MSG_RESULT($MACHDEP)
AC_SUBST(PLATDIR)
PLATDIR=plat-$MACHDEP
# Record the configure-time value of MACOSX_DEPLOYMENT_TARGET,
# it may influence the way we can build extensions, so distutils
# needs to check it