From 0ca0c0e5a294d3f3f07ef179793c918bcb128356 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 11 Sep 2007 18:24:09 +0000 Subject: r25100: Include LDAP libs in .pc file so linking statically against libldb works again. (This used to be commit bcf5c9447435a826027626ac89a00eaa6739b12a) --- source4/lib/ldb/configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/lib/ldb/configure.ac') 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 -- cgit