From 3746e0ace7d5d6a9233b51bb555cbc2e605ca0f8 Mon Sep 17 00:00:00 2001 From: bde Date: Thu, 6 May 1999 02:58:30 +0000 Subject: [PATCH] "Fixed" missing dependency of ${PROG} on ${LIBC} in the elf case. --- share/mk/bsd.prog.mk | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk index bc3947f6db85..94d9f6c62c21 100644 --- a/share/mk/bsd.prog.mk +++ b/share/mk/bsd.prog.mk @@ -1,5 +1,5 @@ # from: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 -# $Id: bsd.prog.mk,v 1.81 1999/01/22 12:41:27 jdp Exp $ +# $Id: bsd.prog.mk,v 1.82 1999/03/23 03:06:25 bde Exp $ .if !target(__initialized__) __initialized__: @@ -75,9 +75,7 @@ _EXTRADEPEND: echo ${PROG}: `${CC} -Wl,-f ${CFLAGS} ${LDFLAGS} ${LDDESTDIR} \ ${LDADD:S/^/-Wl,/}` >> ${DEPENDFILE} .else -.if defined(DPADD) && !empty(DPADD) - echo ${PROG}: ${DPADD} >> ${DEPENDFILE} -.endif + echo ${PROG}: ${LIBC} ${DPADD} >> ${DEPENDFILE} .endif .endif