summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1994-09-20 05:17:50 +0000
committerbde <bde@FreeBSD.org>1994-09-20 05:17:50 +0000
commit29f8ee7cc70893f72c5a3f1659b7370645691401 (patch)
treee40f7b0e0b23c4ef2a74796cfca5efc1a7007ebc
parent4361273583433abca35f1cb3a3c4ddd962e97a68 (diff)
downloadFreeBSD-src-29f8ee7cc70893f72c5a3f1659b7370645691401.zip
FreeBSD-src-29f8ee7cc70893f72c5a3f1659b7370645691401.tar.gz
Add dependency for -lcompat.
-rw-r--r--gnu/usr.bin/binutils/gdb/Makefile4
-rw-r--r--gnu/usr.bin/gdb/gdb/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/gdb/Makefile b/gnu/usr.bin/binutils/gdb/Makefile
index 4c98641..32f0786 100644
--- a/gnu/usr.bin/binutils/gdb/Makefile
+++ b/gnu/usr.bin/binutils/gdb/Makefile
@@ -68,5 +68,7 @@ LDADD+= -L${.CURDIR}/../mmalloc/ -lmmalloc
DPADD+= ${.CURDIR}/../mmalloc/libmmalloc.a
.endif
-LDADD+= -lcompat
+LDADD+= -lcompat
+DPADD+= ${LIBCOMPAT}
+
.include <bsd.prog.mk>
diff --git a/gnu/usr.bin/gdb/gdb/Makefile b/gnu/usr.bin/gdb/gdb/Makefile
index 4c98641..32f0786 100644
--- a/gnu/usr.bin/gdb/gdb/Makefile
+++ b/gnu/usr.bin/gdb/gdb/Makefile
@@ -68,5 +68,7 @@ LDADD+= -L${.CURDIR}/../mmalloc/ -lmmalloc
DPADD+= ${.CURDIR}/../mmalloc/libmmalloc.a
.endif
-LDADD+= -lcompat
+LDADD+= -lcompat
+DPADD+= ${LIBCOMPAT}
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud