changeset 9499:58650eedc4fd HEAD

configure: Added -llber to ldap libs. Fixes linking in some systems. Patch by Marco Nenciarini.
author Timo Sirainen <tss@iki.fi>
date Wed, 09 Dec 2009 15:08:05 -0500
parents a9b469e1c8de
children 9cccb8617820
files configure.in
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Tue Dec 08 17:52:10 2009 -0500
+++ b/configure.in	Wed Dec 09 15:08:05 2009 -0500
@@ -1897,7 +1897,7 @@
 			AC_CHECK_LIB(ldap, ldap_start_tls_s, [
 				AC_DEFINE(LDAP_HAVE_START_TLS_S,, Define if you have ldap_start_tls_s)
 			])
-			LDAP_LIBS=-lldap
+			LDAP_LIBS="-lldap -llber"
 			AC_SUBST(LDAP_LIBS)
 			if test $want_ldap != plugin; then
 				AUTH_LIBS="$AUTH_LIBS $LDAP_LIBS"