diff --git a/Makefile.pre.in b/Makefile.pre.in index c6c534e7d88..8dca592ed20 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1110,6 +1110,10 @@ altbininstall: $(BUILDPYTHON) @FRAMEWORKPYTHONW@ 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 index 311e80bcd62..aadc3cb45be 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -492,6 +492,8 @@ Tests 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.