From fb7a98aa32875f8b113974e062c240e636a7ef64 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 15 Jun 2010 02:46:16 +0200 Subject: ldb: Fix included ldb build. --- source4/lib/ldb/common/ldb_modules.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/lib/ldb/common') diff --git a/source4/lib/ldb/common/ldb_modules.c b/source4/lib/ldb/common/ldb_modules.c index ce6031f600..21225acd3f 100644 --- a/source4/lib/ldb/common/ldb_modules.c +++ b/source4/lib/ldb/common/ldb_modules.c @@ -866,6 +866,10 @@ int ldb_mod_register_control(struct ldb_module *module, const char *oid) return ret; } +#ifdef STATIC_ldb_MODULES +#define STATIC_LIBLDB_MODULES STATIC_ldb_MODULES +#endif + #ifndef STATIC_LIBLDB_MODULES #ifdef HAVE_LDB_LDAP -- cgit