build: Fix build on systems without ldap development headers
authorAndrew Bartlett <abartlet@samba.org>
Fri, 14 Sep 2012 18:58:02 +0000 (11:58 -0700)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 14 Sep 2012 20:53:30 +0000 (22:53 +0200)
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Sep 14 22:53:30 CEST 2012 on sn-devel-104

source3/wscript_build

index 60965ef1ae4351fada5a04b0a3cea031ad102850..7e39ec39986a4310de445dc98096d52ae235f656 100755 (executable)
@@ -740,6 +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,
                    private_library=True)
 
 bld.SAMBA3_SUBSYSTEM('SERVER_MUTEX',