diff options
-rw-r--r-- | source4/Makefile.in | 1 | ||||
-rw-r--r-- | source4/lib/ldb/config.m4 | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/source4/Makefile.in b/source4/Makefile.in index ea75d26ab9..e5b5d54f70 100644 --- a/source4/Makefile.in +++ b/source4/Makefile.in @@ -96,6 +96,7 @@ MODULES = $(CHARSET_MODULES) $(DCERPC_MODULES) $(NTVFS_MODULES) CHARSET_OBJS = @CHARSET_OBJS@ +LIBLDB_LDAP_OBJS = @LIBLDB_LDAP_OBJS@ LIBLDB_OBJS = @LIBLDB_OBJS@ LIBBASIC_OBJS = @LIBBASIC_OBJS@ diff --git a/source4/lib/ldb/config.m4 b/source4/lib/ldb/config.m4 index 1541dd6736..737ff8b6f6 100644 --- a/source4/lib/ldb/config.m4 +++ b/source4/lib/ldb/config.m4 @@ -1,4 +1,4 @@ -if test x"$HAVE_LDAP" = x"yes"; then +if test x"$with_ldap_support" = x"yes"; then SMB_SUBSYSTEM(LIBLDB_LDAP,[lib/ldb/ldb_ldap/ldb_ldap.o]) fi @@ -12,7 +12,7 @@ SMB_SUBSYSTEM(LIBLDB,[lib/ldb/common/ldb.o], lib/ldb/ldb_tdb/ldb_pack.o \ lib/ldb/ldb_tdb/ldb_index.o \ lib/ldb/ldb_tdb/ldb_match.o \ - \$(LIBLDAP_LDAP_OBJS)], + \$(LIBLDB_LDAP_OBJS)], lib/ldb/include/ldb.h) SMB_SUBSYSTEM(LDBADD,[], |