Don't rely on the shared library dependencies to pull in the ssl and lber

libraries, for the benefit of static linking and our sun2 port.
This commit is contained in:
he 2010-12-02 10:21:28 +00:00
parent 3e1a0ddeec
commit c9162fb054

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2010/11/22 22:19:54 christos Exp $
# $NetBSD: Makefile,v 1.4 2010/12/02 10:21:28 he Exp $
.include <bsd.own.mk>
@ -58,8 +58,8 @@ DPADD+= ${LIBCOM_ERR} ${LIBROKEN}
.if (${USE_LDAP} != "no")
SRCS+= ldapauth.c
LDADD+= -lldap
DPADD+= ${LIBLDAP}
LDADD+= -lldap -lssl -llber
DPADD+= ${LIBLDAP} ${LIBSSL} ${LIBLBER}
.endif
.include <bsd.prog.mk>