Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk When linking with $DESTDIR, use an explicit -R to g...
details: https://anonhg.NetBSD.org/src/rev/1649fbf8bc06
branches: trunk
changeset: 484111:1649fbf8bc06
user: mycroft <mycroft%NetBSD.org@localhost>
date: Sat Mar 25 23:15:13 2000 +0000
description:
When linking with $DESTDIR, use an explicit -R to get library dependencies
correct.
diffstat:
share/mk/bsd.prog.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r a7dc3e565dbd -r 1649fbf8bc06 share/mk/bsd.prog.mk
--- a/share/mk/bsd.prog.mk Sat Mar 25 21:37:51 2000 +0000
+++ b/share/mk/bsd.prog.mk Sat Mar 25 23:15:13 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prog.mk,v 1.110 2000/03/07 20:55:05 veego Exp $
+# $NetBSD: bsd.prog.mk,v 1.111 2000/03/25 23:15:13 mycroft Exp $
# @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
.if !target(__initialized__)
@@ -104,7 +104,7 @@
.if defined(DESTDIR)
${PROG}: ${LIBCRT0} ${DPSRCS} ${OBJS} ${LIBC} ${LIBCRTBEGIN} ${LIBCRTEND} ${DPADD}
- ${CC} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} -nostdlib -L${DESTDIR}/usr/lib ${LIBCRT0} ${LIBCRTBEGIN} ${OBJS} ${LDADD} -lgcc -lc -lgcc ${LIBCRTEND}
+ ${CC} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} -nostdlib -L${DESTDIR}/usr/lib -R${DESTDIR}/usr/lib ${LIBCRT0} ${LIBCRTBEGIN} ${OBJS} ${LDADD} -lgcc -lc -lgcc ${LIBCRTEND}
.else
Home |
Main Index |
Thread Index |
Old Index