summaryrefslogtreecommitdiff
path: root/source3/passdb/wscript_build
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-11 12:09:25 +0100
committerGünther Deschner <gd@samba.org>2011-02-11 13:08:38 +0100
commit8015514c5b19acf37e6121eefdc8464fb89e60c2 (patch)
tree13d3916cf45db90878f415c0bcde885ef3952a28 /source3/passdb/wscript_build
parent1bad50f648fff0a145d56bf3094c14b6e0845fa2 (diff)
downloadsamba-8015514c5b19acf37e6121eefdc8464fb89e60c2.tar.gz
samba-8015514c5b19acf37e6121eefdc8464fb89e60c2.tar.bz2
samba-8015514c5b19acf37e6121eefdc8464fb89e60c2.zip
s3-waf: use bld.env.HAVE_LDAP in some more places, hopefully fixes the builds w/o ldap.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Feb 11 13:08:38 CET 2011 on sn-devel-104
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',