Backport: #1095: ln -f doesn't work portably.

This commit is contained in:
Georg Brandl 2007-09-07 20:12:59 +00:00
parent 339a3ad87a
commit 18726be4d4
1 changed files with 2 additions and 1 deletions

View File

@ -656,7 +656,8 @@ bininstall: altbininstall
else true; \
fi
(cd $(DESTDIR)$(BINDIR); $(LN) python$(VERSION)$(EXE) $(PYTHON))
(cd $(DESTDIR)$(BINDIR); $(LN) -sf python$(VERSION)-config python-config)
-rm -f $(DESTDIR)$(BINDIR)/python-config
(cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python-config)
# Install the interpreter with $(VERSION) affixed
# This goes into $(exec_prefix)