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>
 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to