summaryrefslogtreecommitdiff
path: root/source3/passdb/wscript_build
diff options
context:
space:
mode:
Diffstat (limited to 'source3/passdb/wscript_build')
-rw-r--r--source3/passdb/wscript_build2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/wscript_build b/source3/passdb/wscript_build
index 4a41fe5238..be381c815f 100644
--- a/source3/passdb/wscript_build
+++ b/source3/passdb/wscript_build
@@ -23,7 +23,7 @@ bld.SAMBA_MODULE('pdb_ldap',
source=PDB_LDAP_SRC,
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_ldap'),
- enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_ldap'))
+ enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_ldap') and bld.env.HAVE_LDAP)
bld.SAMBA_MODULE('pdb_ads',
subsystem='pdb',