diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-12-13 20:21:36 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-12-13 20:21:36 (GMT) |
commit | 117051afa9580d40b3d148504006f609f4e85c6b (patch) | |
tree | 5daa7edaa058d81e7151a66ee571175881c32b5d /Makefile.pre.in | |
parent | 67dbd0d73c09821feb975208ee5be41a282a0856 (diff) | |
parent | c2021558ef6d813d483298cdf637de78225dc0f2 (diff) | |
download | cpython-117051afa9580d40b3d148504006f609f4e85c6b.zip cpython-117051afa9580d40b3d148504006f609f4e85c6b.tar.gz cpython-117051afa9580d40b3d148504006f609f4e85c6b.tar.bz2 |
(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 c6c534e..8dca592 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; \ |