File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -836,6 +836,11 @@ altbininstall: $(BUILDPYTHON)
836836 fi; \
837837 done
838838 $(INSTALL_PROGRAM) $(BUILDPYTHON) $(DESTDIR)$(BINDIR)/python$(LDVERSION)$(EXE)
839+ -if test -f $(DESTDIR)$(BINDIR)/$(PYTHON)$(VERSION)$(EXE) -o -h $(DESTDIR)$(BINDIR)/$(PYTHON)$(VERSION)$(EXE); \
840+ then rm -f $(DESTDIR)$(BINDIR)/python$(VERSION)$(EXE); \
841+ else true; \
842+ fi
843+ (cd $(DESTDIR)$(BINDIR); $(LN) python$(LDVERSION)$(EXE) python$(VERSION)$(EXE))
839844 if test -f $(LDLIBRARY); then \
840845 if test -n "$(DLLLIBRARY)" ; then \
841846 $(INSTALL_SHARED) $(DLLLIBRARY) $(DESTDIR)$(BINDIR); \
@@ -853,11 +858,6 @@ bininstall: altbininstall
853858 then rm -f $(DESTDIR)$(BINDIR)/$(PYTHON)3$(EXE); \
854859 else true; \
855860 fi
856- -if test -f $(DESTDIR)$(BINDIR)/$(PYTHON)$(VERSION)$(EXE) -o -h $(DESTDIR)$(BINDIR)/$(PYTHON)$(VERSION)$(EXE); \
857- then rm -f $(DESTDIR)$(BINDIR)/python$(VERSION)$(EXE); \
858- else true; \
859- fi
860- (cd $(DESTDIR)$(BINDIR); $(LN) python$(LDVERSION)$(EXE) python$(VERSION)$(EXE))
861861 (cd $(DESTDIR)$(BINDIR); $(LN) python$(VERSION)$(EXE) $(PYTHON)3$(EXE))
862862 -rm -f $(DESTDIR)$(BINDIR)/python3-config
863863 -rm -f $(DESTDIR)$(BINDIR)/python$(VERSION)-config
You can’t perform that action at this time.
0 commit comments