[Python-checkins] cpython (2.7): Issue #25696: Fix installation of Python on UNIX with make -j9.

victor.stinner python-checkins at python.org
Sun Dec 13 15:22:37 EST 2015


https://hg.python.org/cpython/rev/c03ef448b5b2
changeset:   99546:c03ef448b5b2
branch:      2.7
parent:      99540:903a2664d32d
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Sun Dec 13 21:19:28 2015 +0100
summary:
  Issue #25696: Fix installation of Python on UNIX with make -j9.

files:
  Makefile.pre.in |  4 ++++
  Misc/NEWS       |  2 ++
  2 files changed, 6 insertions(+), 0 deletions(-)


diff --git a/Makefile.pre.in b/Makefile.pre.in
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -914,6 +914,10 @@
 #  $(PYTHON) -> python2 -> python$(VERSION))
 # Also create equivalent chains for other installed files
 bininstall:	altbininstall
+	-if test ! -d $(DESTDIR)$(LIBPC); then \
+		echo "Creating directory $(LIBPC)"; \
+		$(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(LIBPC); \
+	fi
 	-if test -f $(DESTDIR)$(BINDIR)/$(PYTHON) -o -h $(DESTDIR)$(BINDIR)/$(PYTHON); \
 	then rm -f $(DESTDIR)$(BINDIR)/$(PYTHON); \
 	else true; \
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -56,6 +56,8 @@
 Build
 -----
 
+- Issue #25696: Fix installation of Python on UNIX with make -j9.
+
 - Issue #25798: Update OS X 10.5+ 32-bit-only installer to build
   and link with OpenSSL 1.0.2e.
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list