Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk Adapt for sqlite requiring pthreads now



details:   https://anonhg.NetBSD.org/src/rev/89b0c007fe06
branches:  trunk
changeset: 1016153:89b0c007fe06
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Nov 09 10:19:18 2020 +0000

description:
Adapt for sqlite requiring pthreads now

diffstat:

 share/mk/bsd.prog.mk |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (36 lines):

diff -r be32708d41d0 -r 89b0c007fe06 share/mk/bsd.prog.mk
--- a/share/mk/bsd.prog.mk      Mon Nov 09 03:23:14 2020 +0000
+++ b/share/mk/bsd.prog.mk      Mon Nov 09 10:19:18 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.prog.mk,v 1.333 2020/10/30 08:41:58 martin Exp $
+#      $NetBSD: bsd.prog.mk,v 1.334 2020/11/09 10:19:18 martin Exp $
 #      @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
 
 .ifndef HOSTPROG
@@ -226,11 +226,11 @@
 LIBKRB5_LDADD+= -lkrb5 -lcom_err \
        -lhx509 -lcrypto -lasn1 \
        -lwind -lheimbase -lcom_err -lroken \
-       -lsqlite3 -lm -lcrypt -lutil
+       -lsqlite3 -lpthread -lm -lcrypt -lutil
 LIBKRB5_DPADD+= ${LIBKRB5} ${LIBCOM_ERR} \
        ${LIBHX509} ${LIBCRYPTO} ${LIBASN1} \
        ${LIBWIND} ${LIBHEIMBASE} ${LIBCOM_ERR} ${LIBROKEN} \
-       ${LIBSQLITE3} ${LIBM} ${LIBCRYPT}  ${LIBUTIL}
+       ${LIBSQLITE3} ${LIBM} ${LIPPTHREAD} ${LIBCRYPT}  ${LIBUTIL}
 .endif
 
 # PAM applications, if linked statically, need more libraries
@@ -239,10 +239,10 @@
 PAM_STATIC_DPADD+= ${LIBSSH}
 .if (${MKKERBEROS} != "no")
 PAM_STATIC_LDADD+= -lkafs -lkrb5 -lhx509 -lwind -lasn1 \
-       -lroken -lcom_err -lheimbase -lcrypto -lsqlite3 -lm
+       -lroken -lcom_err -lheimbase -lcrypto -lsqlite3 -lpthread -lm
 PAM_STATIC_DPADD+= ${LIBKAFS} ${LIBKRB5} ${LIBHX509} ${LIBWIND} ${LIBASN1} \
        ${LIBROKEN} ${LIBCOM_ERR} ${LIBHEIMBASE} ${LIBCRYPTO} ${LIBSQLITE3} \
-       ${LIBM}
+       ${LIBPTHREAD} ${LIBM}
 .endif
 .if (${MKSKEY} != "no")
 PAM_STATIC_LDADD+= -lskey



Home | Main Index | Thread Index | Old Index