ldb: Fix included ldb build.
[kamenim/samba.git] / source4 / lib / ldb / common / ldb_modules.c
index ce6031f6005312434e3cda9c7ca6252d6f87f11e..21225acd3f8b642a958f37841d53166282b71e2f 100644 (file)
@@ -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