Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Mar 2014 23:37:25 +0000 (UTC)
From:      John-Mark Gurney <jmg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r262811 - head/cddl/lib/libctf
Message-ID:  <201403052337.s25NbPBH064982@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403052337.s25NbPBH064982>