summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/common
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-06-15 02:46:16 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-06-15 13:15:50 +0200
commitfb7a98aa32875f8b113974e062c240e636a7ef64 (patch)
tree2fb3ad517e0201f23d9f8ae3e93380188221cf4c /source4/lib/ldb/common
parentde68718d3ddb9a8e88267fae51e90d5db9b91fe7 (diff)
downloadsamba-fb7a98aa32875f8b113974e062c240e636a7ef64.tar.gz
samba-fb7a98aa32875f8b113974e062c240e636a7ef64.tar.bz2
samba-fb7a98aa32875f8b113974e062c240e636a7ef64.zip
ldb: Fix included ldb build.
Diffstat (limited to 'source4/lib/ldb/common')
-rw-r--r--source4/lib/ldb/common/ldb_modules.c4
1 files changed, 4 insertions, 0 deletions
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