From 83a63baecc0b49dac5547551436f9fca2595f2f7 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 17 Feb 2011 16:39:07 +1100 Subject: lib/util Make UTIL_LDB conditional on an s4 build This allows this file to be used in common. --- lib/util/wscript_build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/util/wscript_build b/lib/util/wscript_build index 5180c8c2a4c..dfb5623b15b 100644 --- a/lib/util/wscript_build +++ b/lib/util/wscript_build @@ -79,7 +79,8 @@ bld.SAMBA_SUBSYSTEM('UTIL_TEVENT', ) -bld.SAMBA_SUBSYSTEM('UTIL_LDB', +if bld.env._SAMBA_BUILD_ == 4: + bld.SAMBA_SUBSYSTEM('UTIL_LDB', source='util_ldb.c', local_include=False, public_deps='ldb', -- cgit