]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #25696: Fix installation of Python on UNIX with make -j9.
authorVictor Stinner <victor.stinner@gmail.com>
Sun, 13 Dec 2015 20:19:28 +0000 (21:19 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Sun, 13 Dec 2015 20:19:28 +0000 (21:19 +0100)
Makefile.pre.in
Misc/NEWS

index ee73eddc5d8731cb86566e63670f3c61772912b1..3a28e2e05aceaf35da7b7b89f77a04d540420f40 100644 (file)
@@ -914,6 +914,10 @@ $(DESTSHARED):
 #  $(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; \
index 1bef3670e776e48631e8d50feed06b8f26fd0c30..c68e9c935b14013487b433ce1198ffc34414d10a 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -56,6 +56,8 @@ Tests
 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.