summaryrefslogtreecommitdiff
path: root/source3/wscript_build
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/wscript_build
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/wscript_build')
-rwxr-xr-xsource3/wscript_build4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 7e39ec3998..74cc983439 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -740,7 +740,7 @@ bld.SAMBA3_LIBRARY('smbldaphelper',
source='passdb/pdb_ldap_schema.c passdb/pdb_ldap_util.c',
deps='smbldap secrets3',
allow_undefined_symbols=True,
- enabled=bld.env.HAVE_LDAP,
+ enabled=bld.CONFIG_SET('HAVE_LDAP'),
private_library=True)
bld.SAMBA3_SUBSYSTEM('SERVER_MUTEX',
@@ -890,7 +890,7 @@ bld.SAMBA3_LIBRARY('smbldap',
source=SMBLDAP_SRC,
deps='ldap lber samba-util param',
vars=locals(),
- enabled=bld.env.HAVE_LDAP,
+ enabled=bld.CONFIG_SET("HAVE_LDAP"),
private_library=False,
abi_directory='lib/ABI',
abi_match='smbldap_*',