Source-Changes-HG archive

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

[src/trunk]: src/share/mk Centralize the ldap libraries



details:   https://anonhg.NetBSD.org/src/rev/7c4e6f2e2c94
branches:  trunk
changeset: 1022919:7c4e6f2e2c94
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Aug 14 16:16:32 2021 +0000

description:
Centralize the ldap libraries

diffstat:

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

diffs (21 lines):

diff -r 210a2757a0b6 -r 7c4e6f2e2c94 share/mk/bsd.prog.mk
--- a/share/mk/bsd.prog.mk      Sat Aug 14 16:15:46 2021 +0000
+++ b/share/mk/bsd.prog.mk      Sat Aug 14 16:16:32 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.prog.mk,v 1.336 2020/11/12 17:53:43 nia Exp $
+#      $NetBSD: bsd.prog.mk,v 1.337 2021/08/14 16:16:32 christos Exp $
 #      @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
 
 .ifndef HOSTPROG
@@ -229,6 +229,11 @@
        ${LIBSQLITE3} ${LIBM} ${LIBCRYPT} ${LIBUTIL}
 .endif
 
+.if (${MKLDAP} != "no")
+LIBLDAP_LDADD+= -lldap -llber -lgssapi -lssl -lcrypto 
+LIBLDAP_DPADD+= ${LIBLDAP} ${LIBLBER} ${LIBGSSAPI} ${LIBSSL} ${LIBCRYPTO}
+.endif
+
 # PAM applications, if linked statically, need more libraries
 .if (${MKPIC} == "no")
 PAM_STATIC_LDADD+= -lssh



Home | Main Index | Thread Index | Old Index