summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2013-01-09 22:17:59 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2013-01-09 22:17:59 +0000
commit6c5fd74a4ece6cd97087bce100b962b162de23ac (patch)
tree36552d47c7f99b02e0f8ae0bc75f8765a6d44d97
parentb421c57c5e66e85cc87d8c04bfd25162a9e45752 (diff)
In the WANT_LDAP=yes case, always link libsasl2
(libdap depends on it). ok millert@ ajacoutot@
-rw-r--r--gnu/usr.sbin/sendmail/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.sbin/sendmail/Makefile.inc b/gnu/usr.sbin/sendmail/Makefile.inc
index b1b153b7bc1..ef655baab87 100644
--- a/gnu/usr.sbin/sendmail/Makefile.inc
+++ b/gnu/usr.sbin/sendmail/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.18 2012/08/21 14:05:59 jsg Exp $
+# $OpenBSD: Makefile.inc,v 1.19 2013/01/09 22:17:58 matthieu Exp $
.include <bsd.own.mk>
.include <bsd.obj.mk>
@@ -54,7 +54,7 @@ LDADD+= -lwrap
.if defined(WANT_LDAP)
.if !defined(LIB) || (${LIB} != "milter")
ENVDEF+= -DLDAPMAP
-LDADD+=-lldap -llber
+LDADD+=-lldap -llber -lsasl2
CFLAGS+=-I/usr/local/include
LDFLAGS+=-L/usr/local/lib
.endif