summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-02-17 16:39:07 +1100
committerAndrew Tridgell <tridge@samba.org>2011-02-18 16:46:42 +1100
commit83a63baecc0b49dac5547551436f9fca2595f2f7 (patch)
tree403c7bfd9aadc209dc8c4472eb29ec5ca21773bc
parentc8b2b109760b366bee6dcf7c6c306936d271f508 (diff)
downloadsamba-83a63baecc0b49dac5547551436f9fca2595f2f7.tar.gz
samba-83a63baecc0b49dac5547551436f9fca2595f2f7.tar.bz2
samba-83a63baecc0b49dac5547551436f9fca2595f2f7.zip
lib/util Make UTIL_LDB conditional on an s4 build
This allows this file to be used in common.
-rw-r--r--lib/util/wscript_build3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/util/wscript_build b/lib/util/wscript_build
index 5180c8c2a4..dfb5623b15 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',