Re-enable ldb-cmdline for the moment, as it is used by oLschema2ldif.
authorJelmer Vernooij <jelmer@samba.org>
Sun, 14 Nov 2010 13:32:13 +0000 (14:32 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Sun, 14 Nov 2010 17:14:05 +0000 (17:14 +0000)
source4/lib/ldb/wscript

index b98406f2e6f1e670e8ce390fedd4097d24126ab8..5c4054a9181df9b1a157010604629afd25ef216a 100644 (file)
@@ -208,11 +208,6 @@ 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',
@@ -222,6 +217,11 @@ def build(bld):
         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)
+
 
 def test(ctx):
     '''run ldb testsuite'''