summaryrefslogtreecommitdiffstats
path: root/cddl
diff options
context:
space:
mode:
authorjmg <jmg@FreeBSD.org>2014-03-05 23:37:25 +0000
committerjmg <jmg@FreeBSD.org>2014-03-05 23:37:25 +0000
commit731420f10e9bc0c05578d1d16a184afebf9c059d (patch)
treeb1bccf9ef5303cf5b14288fcb50892ced58aa124 /cddl
parentf40d4b8f24c221471b24978d5a0666ad38c70b32 (diff)
downloadFreeBSD-src-731420f10e9bc0c05578d1d16a184afebf9c059d.zip
FreeBSD-src-731420f10e9bc0c05578d1d16a184afebf9c059d.tar.gz
mark that libctf depends upon libz so that if you dlopen libctf, you
don't get: Undefined symbol "zError"
Diffstat (limited to 'cddl')
-rw-r--r--cddl/lib/libctf/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/cddl/lib/libctf/Makefile b/cddl/lib/libctf/Makefile
index 5829111..50c7937 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 <bsd.lib.mk>
OpenPOWER on IntegriCloud