From 1189b87f9622831115a34bda895bbe83fceab061 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Wed, 5 Mar 2014 23:37:25 +0000 Subject: [PATCH] mark that libctf depends upon libz so that if you dlopen libctf, you don't get: Undefined symbol "zError" --- cddl/lib/libctf/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cddl/lib/libctf/Makefile b/cddl/lib/libctf/Makefile index 582911158b3c..50c7937b89b1 100644 --- a/cddl/lib/libctf/Makefile +++ b/cddl/lib/libctf/Makefile @@ -27,5 +27,8 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \ -I${OPENSOLARIS_USR_DISTDIR}/lib/libctf/common \ -I${OPENSOLARIS_SYS_DISTDIR}/uts/common +DPADD= ${LIBZ} +LDADD= -lz + .include