Skip to content

Commit 8859645

Browse files
committed
gh-104692: Include commoninstall as a prerequisite for bininstall
This ensures that `commoninstall` is completed before `bininstall` is started when parallel builds are used (`make -j install`), and so the `python3` symlink is only installed after all standard library modules are installed.
1 parent ff7f731 commit 8859645

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Makefile.pre.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1980,7 +1980,7 @@ altbininstall: $(BUILDPYTHON) @FRAMEWORKPYTHONW@
19801980
fi
19811981

19821982
.PHONY: bininstall
1983-
bininstall: altbininstall
1983+
bininstall: commoninstall altbininstall
19841984
if test ! -d $(DESTDIR)$(LIBPC); then \
19851985
echo "Creating directory $(LIBPC)"; \
19861986
$(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(LIBPC); \
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
This ensures that ``commoninstall`` is completed before ``bininstall``
2+
is started when parallel builds are used (``make -j install``), and so
3+
the ``python3`` symlink is only installed after all standard library
4+
modules are installed.

0 commit comments

Comments
 (0)