summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/ldap/config.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ldap/config.m4 b/ext/ldap/config.m4
index 80ad89a21b..c86aca2b8a 100644
--- a/ext/ldap/config.m4
+++ b/ext/ldap/config.m4
@@ -46,7 +46,7 @@ dnl these here if necessary. -RL
if test -f $LDAP_LIBDIR/liblber.a; then
LDAP_LIBS="-lldap -llber"
AC_ADD_LIBRARY(ldap)
- AC_ADD_LIBRARY(lber)
+ AC_ADD_LIBRARY(lber,1)
elif test -f $LDAP_LIBDIR/libldapssl30.so; then
AC_ADD_LIBRARY(ldapssl30)
AC_ADD_LIBRARY($LDAP_PTHREAD)
@@ -63,7 +63,7 @@ dnl these here if necessary. -RL
AC_DEFINE(HAVE_NSLDAP,1,[ ])
elif test -f $LDAP_LIBDIR/libumich_ldap.so; then
AC_ADD_LIBRARY(umich_ldap)
- AC_ADD_LIBRARY(umich_lber)
+ AC_ADD_LIBRARY(umich_lber,1)
fi
AC_ADD_INCLUDE($LDAP_INCDIR)