diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-12-13 21:21:36 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-12-13 21:21:36 +0100 |
commit | e5907ffc49d74e01f2a92b023260bf5c856185b6 (patch) | |
tree | 389ba59fc5fc4ef8ad4c32cf351f2a57aac0a59e /Makefile.pre.in | |
parent | 9fcf646dd38aa478f84b65c5831d34ab07e48109 (diff) | |
parent | 3ed531fd0ce9f5a27c9b9de936e7202a0ce2b866 (diff) | |
download | cpython-e5907ffc49d74e01f2a92b023260bf5c856185b6.tar.gz |
(Merge 3.5) Issue #25696: Fix installation of Python on UNIX with make -j9.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index c6c534e7d8..8dca592ed2 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; \ |