summaryrefslogtreecommitdiffstats
path: root/cddl/usr.sbin
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2007-10-01 18:17:24 +0000
committerru <ru@FreeBSD.org>2007-10-01 18:17:24 +0000
commit62d48a1604c31ca3959932216d8b9735207c594d (patch)
tree8e141ebf7b45244d28ef5e9cbd08f0efd4d30f5e /cddl/usr.sbin
parent0de18b1b0a14db0095b700d2d40a742b327ea811 (diff)
downloadFreeBSD-src-62d48a1604c31ca3959932216d8b9735207c594d.zip
FreeBSD-src-62d48a1604c31ca3959932216d8b9735207c594d.tar.gz
Fixed static linkage (build with -DNO_SHARED).
Approved by: re (kensmith)
Diffstat (limited to 'cddl/usr.sbin')
-rw-r--r--cddl/usr.sbin/zdb/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/cddl/usr.sbin/zdb/Makefile b/cddl/usr.sbin/zdb/Makefile
index 4b1f875..72b9b30 100644
--- a/cddl/usr.sbin/zdb/Makefile
+++ b/cddl/usr.sbin/zdb/Makefile
@@ -16,7 +16,8 @@ CFLAGS+= -I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common/sys
CFLAGS+= -I${.CURDIR}/../../../contrib/opensolaris/head
CFLAGS+= -I${.CURDIR}/../../lib/libumem
-DPADD= ${LIBAVL} ${LIBM} ${LIBNVPAIR} ${LIBPTHREAD} ${LIBUMEM} ${LIBZPOOL}
-LDADD= -lavl -lm -lnvpair -lpthread -lumem -lzpool
+DPADD= ${LIBM} ${LIBNVPAIR} ${LIBUMEM} ${LIBZPOOL} \
+ ${LIBPTHREAD} ${LIBZ} ${LIBAVL}
+LDADD= -lm -lnvpair -lumem -lzpool -lpthread -lz -lavl
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud