From owner-svn-src-head@FreeBSD.ORG Wed Mar 5 23:37:25 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9F167C87; Wed, 5 Mar 2014 23:37:25 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8CA4BD5D; Wed, 5 Mar 2014 23:37:25 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s25NbPoX064983; Wed, 5 Mar 2014 23:37:25 GMT (envelope-from jmg@svn.freebsd.org) Received: (from jmg@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s25NbPBH064982; Wed, 5 Mar 2014 23:37:25 GMT (envelope-from jmg@svn.freebsd.org) Message-Id: <201403052337.s25NbPBH064982@svn.freebsd.org> From: John-Mark Gurney Date: Wed, 5 Mar 2014 23:37:25 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r262811 - head/cddl/lib/libctf X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Mar 2014 23:37:25 -0000 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