Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Nov 2014 22:17:36 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r274991 - head/share/mk
Message-ID:  <201411242217.sAOMHaB0024110@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Nov 24 22:17:35 2014
New Revision: 274991
URL: https://svnweb.freebsd.org/changeset/base/274991

Log:
  Each time something links to sqlite3 it should link to pthread

Modified:
  head/share/mk/src.libnames.mk

Modified: head/share/mk/src.libnames.mk
==============================================================================
--- head/share/mk/src.libnames.mk	Mon Nov 24 22:15:30 2014	(r274990)
+++ head/share/mk/src.libnames.mk	Mon Nov 24 22:17:35 2014	(r274991)
@@ -15,6 +15,7 @@ _PRIVATELIBS=	\
 		atf_c \
 		atf_cxx \
 		bsdstat \
+		heimipcc \
 		ldns \
 		sqlite3 \
 		ssh \
@@ -29,6 +30,7 @@ _INTERNALIBS=	\
 
 _LIBRARIES=	\
 		archive \
+		asn1 \
 		atf_c \
 		atf_cxx \
 		bsdxml \
@@ -38,6 +40,7 @@ _LIBRARIES=	\
 		capsicum \
 		casper \
 		cft \
+		com_err \
 		crypt \
 		crypto \
 		cuse \
@@ -54,10 +57,14 @@ _LIBRARIES=	\
 		figpar \
 		geom \
 		gssapi \
+		heimbase \
+		heimipcc \
+		hx509 \
 		ipsec \
 		jail \
 		kiconv \
 		kvm \
+		krb5 \
 		l \
 		ldns \
 		lzma \
@@ -80,6 +87,7 @@ _LIBRARIES=	\
 		pthread \
 		radius \
 		readline \
+		roken \
 		rpcsec_gss \
 		rt \
 		sbuf \
@@ -96,6 +104,7 @@ _LIBRARIES=	\
 		ulog \
 		usb \
 		util \
+		wind \
 		wrap \
 		y \
 		z
@@ -178,6 +187,9 @@ LDADD_${_l}+=	${LDADD_${_d}}
 DPADD_ucl+=	${DPADD_m}
 LDADD_ucl+=	${LDADD_m}
 
+DPADD_sqlite3+=	${DPADD_pthread}
+DPADD_sqlite3+=	${LDADD_pthread}
+
 .for _l in ${LIBADD}
 .if ${_PRIVATELIBS:M${_l}}
 USEPRIVATELIB+=	${_l}
@@ -186,6 +198,10 @@ DPADD+=		${DPADD_${_l}}
 LDADD+=		${LDADD_${_l}}
 .endfor
 
+.if defined(USEPRIVATELIB)
+LDFLAGS+=	-rpath ${LIBPRIVATEDIR}
+.endif
+
 LIBATF_CDIR=	${ROOTOBJDIR}/lib/atf/libatf-c
 LDATF_C?=	${LIBATF_CDIR}/libatf-c.so
 LIBATF_C?=	${LIBATF_CDIR}/libatf-c.a



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