diff options
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/ldb/common/ldb_modules.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/ldb/common/ldb_modules.c b/source4/lib/ldb/common/ldb_modules.c index cfb84e446f..054a830bfb 100644 --- a/source4/lib/ldb/common/ldb_modules.c +++ b/source4/lib/ldb/common/ldb_modules.c @@ -135,6 +135,8 @@ static const struct ldb_module_ops *ldb_find_module_ops(const char *name) return NULL; } +#ifndef STATIC_ldb_MODULES + #ifdef HAVE_LDAP #define LDAP_INIT ldb_ldap_init, #else @@ -147,7 +149,6 @@ static const struct ldb_module_ops *ldb_find_module_ops(const char *name) #define SQLITE3_INIT #endif -#ifndef STATIC_ldb_MODULES #define STATIC_ldb_MODULES \ { \ LDAP_INIT \ |