ops, missed one

This commit is contained in:
fgsch 2002-05-04 11:02:11 +00:00
parent c40a689212
commit daa5e3762f

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-ld_Makefile_am,v 1.2 2002/05/04 10:43:07 fgsch Exp $
$OpenBSD: patch-ld_Makefile_am,v 1.3 2002/05/04 11:02:11 fgsch Exp $
--- ld/Makefile.am.orig Mon Jun 11 07:05:07 2001
+++ ld/Makefile.am Sat May 4 06:44:48 2002
@@ -168,6 +168,7 @@ ALL_EMULATIONS = \
@ -93,7 +93,7 @@ $OpenBSD: patch-ld_Makefile_am,v 1.2 2002/05/04 10:43:07 fgsch Exp $
- ln $(bindir)/$$n$(EXEEXT) $(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
- || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(tooldir)/bin/ld$(EXEEXT); \
+ rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
+ ln $(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
+ ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
+ || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
fi