[Python-checkins] cpython (merge 3.5 -> default): (Merge 3.5) Issue #25696: Fix installation of Python on UNIX with make -j9.

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


https://hg.python.org/cpython/rev/8dd594d36704
changeset:   99548:8dd594d36704
parent:      99545:cdf8033d8820
parent:      99547:87d96b349ff5
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Sun Dec 13 21:21:36 2015 +0100
summary:
  (Merge 3.5) 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
@@ -1110,6 +1110,10 @@
 	fi
 
 bininstall: altbininstall
+	-if test ! -d $(DESTDIR)$(LIBPC); then \
+		echo "Creating directory $(LIBPC)"; \
+		$(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(LIBPC); \
+	fi
 	-if test -f $(DESTDIR)$(BINDIR)/python3$(EXE) -o -h $(DESTDIR)$(BINDIR)/python3$(EXE); \
 	then rm -f $(DESTDIR)$(BINDIR)/python3$(EXE); \
 	else true; \
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -492,6 +492,8 @@
 Build
 -----
 
+- Issue #25696: Fix installation of Python on UNIX with make -j9.
+
 - Issue #24986: It is now possible to build Python on Windows without errors
   when external libraries are not available.
 

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


More information about the Python-checkins mailing list