summaryrefslogtreecommitdiff
path: root/source3/wscript_build
diff options
context:
space:
mode:
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 7e39ec39986..74cc9834390 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_*',