From bd9d544f8ddc1922756b42871965dfa2841ff4b3 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Fri, 7 Sep 2007 20:10:49 +0000 Subject: [PATCH] #1095: ln -f doesn't work portably, fix in Makefile. --- Makefile.pre.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in index bafeb2baaa..326d04b198 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -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) -- 2.50.1