summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-11-14 13:40:58 +0100
committerJelmer Vernooij <jelmer@samba.org>2010-11-14 17:14:05 +0000
commitd2dfa868fd7e77879ff40b7bbe3b52a0ceece277 (patch)
tree00ee287964b9eac5afbb4ca12691d9b9c2094677 /source4/lib/ldb
parentc52e6db8a2d5ef56cac59315f16f70eb9624b5d7 (diff)
downloadsamba-d2dfa868fd7e77879ff40b7bbe3b52a0ceece277.tar.gz
samba-d2dfa868fd7e77879ff40b7bbe3b52a0ceece277.tar.bz2
samba-d2dfa868fd7e77879ff40b7bbe3b52a0ceece277.zip
Don't build ldb tools when there is a system provided ldb.
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/wscript26
1 files changed, 13 insertions, 13 deletions
diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript
index 28373b5459..b98406f2e6 100644
--- a/source4/lib/ldb/wscript
+++ b/source4/lib/ldb/wscript
@@ -208,19 +208,19 @@ def build(bld):
includes='include',
cflags='-DLDB_MODULESDIR=\"%s\"' % modules_dir)
- bld.SAMBA_LIBRARY('ldb-cmdline',
- source='tools/ldbutil.c tools/cmdline.c',
- deps='ldb dl popt',
- private_library=True)
-
- LDB_TOOLS='ldbadd ldbsearch ldbdel ldbmodify ldbedit ldbrename'
- for t in LDB_TOOLS.split():
- bld.SAMBA_BINARY(t, 'tools/%s.c' % t, deps='ldb-cmdline ldb',
- manpages='man/%s.1' % t)
-
- # ldbtest doesn't get installed
- bld.SAMBA_BINARY('ldbtest', 'tools/ldbtest.c', deps='ldb-cmdline ldb',
- install=False)
+ bld.SAMBA_LIBRARY('ldb-cmdline',
+ source='tools/ldbutil.c tools/cmdline.c',
+ deps='ldb dl popt',
+ private_library=True)
+
+ LDB_TOOLS='ldbadd ldbsearch ldbdel ldbmodify ldbedit ldbrename'
+ for t in LDB_TOOLS.split():
+ bld.SAMBA_BINARY(t, 'tools/%s.c' % t, deps='ldb-cmdline ldb',
+ manpages='man/%s.1' % t)
+
+ # ldbtest doesn't get installed
+ bld.SAMBA_BINARY('ldbtest', 'tools/ldbtest.c', deps='ldb-cmdline ldb',
+ install=False)
def test(ctx):