Module Name: src Committed By: christos Date: Sat Aug 14 16:16:32 UTC 2021
Modified Files: src/share/mk: bsd.prog.mk Log Message: Centralize the ldap libraries To generate a diff of this commit: cvs rdiff -u -r1.336 -r1.337 src/share/mk/bsd.prog.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/mk/bsd.prog.mk diff -u src/share/mk/bsd.prog.mk:1.336 src/share/mk/bsd.prog.mk:1.337 --- src/share/mk/bsd.prog.mk:1.336 Thu Nov 12 12:53:43 2020 +++ src/share/mk/bsd.prog.mk Sat Aug 14 12:16:32 2021 @@ -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 @@ LIBKRB5_DPADD+= ${LIBKRB5} ${LIBCOM_ERR} ${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