summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/configure.ac')
-rw-r--r--source4/lib/ldb/configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/ldb/configure.ac b/source4/lib/ldb/configure.ac
index 776877111b..6f19d88290 100644
--- a/source4/lib/ldb/configure.ac
+++ b/source4/lib/ldb/configure.ac
@@ -53,9 +53,10 @@ m4_include(libtdb.m4)
m4_include(ldap.m4)
if test x"$with_ldap_support" = x"yes"; then
- LIBS="$LIBS -llber -lldap"
CFLAGS="$CFLAGS -DHAVE_LDB_LDAP=1"
EXTRA_OBJ="$EXTRA_OBJ ldb_ldap/ldb_ldap.o"
+ LDAP_LIBS="-llber -lldap"
+ AC_SUBST(LDAP_LIBS)
TESTS="$TESTS test-ldap.sh"
fi