#1095: ln -f doesn't work portably, fix in Makefile.

This commit is contained in:
Georg Brandl 2007-09-07 20:10:49 +00:00
parent 8360d5de7e
commit bd9d544f8d

View file

@ -660,7 +660,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)