svn commit: r262811 - head/cddl/lib/libctf

John-Mark Gurney jmg at FreeBSD.org
Wed Mar 5 23:37:25 UTC 2014


Author: jmg
Date: Wed Mar  5 23:37:25 2014
New Revision: 262811
URL: http://svnweb.freebsd.org/changeset/base/262811

Log:
  mark that libctf depends upon libz so that if you dlopen libctf, you
  don't get:
  Undefined symbol "zError"

Modified:
  head/cddl/lib/libctf/Makefile

Modified: head/cddl/lib/libctf/Makefile
==============================================================================
--- head/cddl/lib/libctf/Makefile	Wed Mar  5 23:17:53 2014	(r262810)
+++ head/cddl/lib/libctf/Makefile	Wed Mar  5 23:37:25 2014	(r262811)
@@ -27,5 +27,8 @@ CFLAGS+=	-I${.CURDIR}/../../../sys/cddl/
 		-I${OPENSOLARIS_USR_DISTDIR}/lib/libctf/common \
 		-I${OPENSOLARIS_SYS_DISTDIR}/uts/common
 
+DPADD=         ${LIBZ}
+LDADD=         -lz
+
 .include <bsd.lib.mk>
 


More information about the svn-src-all mailing list