aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-11-24 22:17:35 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-11-24 22:17:35 +0000
commit91bac0a94baeba0b572e43544c7257a53378a1b8 (patch)
treece25d363af679540a5646c605193b41c0a8e784d
parent2df4d9628ad2051a7249817a1c117a7a217239e8 (diff)
downloadsrc-91bac0a94baeba0b572e43544c7257a53378a1b8.tar.gz
src-91bac0a94baeba0b572e43544c7257a53378a1b8.zip
Each time something links to sqlite3 it should link to pthread
Notes
Notes: svn path=/head/; revision=274991
-rw-r--r--share/mk/src.libnames.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/share/mk/src.libnames.mk b/share/mk/src.libnames.mk
index d69eb9b9d662..6cdad1dfdc8c 100644
--- a/share/mk/src.libnames.mk
+++ b/share/mk/src.libnames.mk
@@ -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