summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-09-21 22:27:24 -0700
committerAndrew Bartlett <abartlet@samba.org>2012-09-22 09:09:16 +0200
commitfe2071cd3bae655b9aa7908059f0e19520e2db90 (patch)
tree89038fc686d4b2f4970a4198b45f757413ca8453 /source3/passdb
parentb8eaa57a100818d337c85ac42828801a59062587 (diff)
downloadsamba-fe2071cd3bae655b9aa7908059f0e19520e2db90.tar.gz
samba-fe2071cd3bae655b9aa7908059f0e19520e2db90.tar.bz2
samba-fe2071cd3bae655b9aa7908059f0e19520e2db90.zip
build: Fix enabled handling for HAVE_LDAP, we need to use bld.CONFIG_SET
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Sep 22 09:09:17 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/passdb')
-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 d26afc2a70..03a0df4174 100644
--- a/source3/passdb/wscript_build
+++ b/source3/passdb/wscript_build
@@ -19,7 +19,7 @@ bld.SAMBA3_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') and bld.env.HAVE_LDAP)
+ enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_ldap') and bld.CONFIG_SET('HAVE_LDAP'))
bld.SAMBA3_MODULE('pdb_smbpasswd',
subsystem='pdb',