diff options
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r-- | source4/lib/ldb/wscript | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript index 6b5f0c3e1b..55eb6a871d 100644 --- a/source4/lib/ldb/wscript +++ b/source4/lib/ldb/wscript @@ -219,17 +219,18 @@ def build(bld): else: extra_cmdline_deps = '' - bld.SAMBA_SUBSYSTEM('LIBLDB_CMDLINE', - 'tools/ldbutil.c tools/cmdline.c', - 'ldb dl popt' + extra_cmdline_deps) + bld.SAMBA_LIBRARY('ldb-cmdline', + source='tools/ldbutil.c tools/cmdline.c', + deps='ldb dl popt' + extra_cmdline_deps, + 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='LIBLDB_CMDLINE', + bld.SAMBA_BINARY(t, 'tools/%s.c' % t, deps='ldb-cmdline', manpages='man/%s.1' % t) # ldbtest doesn't get installed - bld.SAMBA_BINARY('ldbtest', 'tools/ldbtest.c', deps='LIBLDB_CMDLINE', + bld.SAMBA_BINARY('ldbtest', 'tools/ldbtest.c', deps='ldb-cmdline', install=False) |