summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Dekkers <jeroen@dekkers.ch>2013-09-09 00:42:39 +0200
committerStefan Metzmacher <metze@samba.org>2013-09-10 12:52:26 +0200
commit0af09f0179c024099e0776d3794f4b3d7fb3f6f6 (patch)
treee9d90cedc88d90523a2d2d419d1aa1fd78b21437
parentb8100af38441d40d5834af3734432eb5ca4da73b (diff)
downloadsamba-0af09f0179c024099e0776d3794f4b3d7fb3f6f6.tar.gz
samba-0af09f0179c024099e0776d3794f4b3d7fb3f6f6.tar.bz2
samba-0af09f0179c024099e0776d3794f4b3d7fb3f6f6.zip
ldb: Do not build libldb-cmdline when using system ldb.
Cleanup leftover include and linking of libldb-cmdline in oLschema2ldif. Do not build libldb-cmdline anymore when using the system ldb, oLschema2ldif was the only reason for building libldb-cmdline. Signed-off-by: Jeroen Dekkers <jeroen@dekkers.ch> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Sep 10 12:52:26 CEST 2013 on sn-devel-104
-rwxr-xr-xlib/ldb/wscript8
-rw-r--r--source4/utils/oLschema2ldif.c1
-rw-r--r--source4/utils/wscript_build2
3 files changed, 5 insertions, 6 deletions
diff --git a/lib/ldb/wscript b/lib/ldb/wscript
index f5647b1a59..071038cae9 100755
--- a/lib/ldb/wscript
+++ b/lib/ldb/wscript
@@ -257,10 +257,10 @@ def build(bld):
bld.SAMBA_BINARY('ldbdump', 'tools/ldbdump.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)
+ bld.SAMBA_LIBRARY('ldb-cmdline',
+ source='tools/ldbutil.c tools/cmdline.c',
+ deps='ldb dl popt',
+ private_library=True)
def test(ctx):
diff --git a/source4/utils/oLschema2ldif.c b/source4/utils/oLschema2ldif.c
index be86daafb7..bcdf570977 100644
--- a/source4/utils/oLschema2ldif.c
+++ b/source4/utils/oLschema2ldif.c
@@ -33,7 +33,6 @@
#include "includes.h"
#include "ldb.h"
-#include "tools/cmdline.h"
#include "dsdb/samdb/samdb.h"
#include "../lib/crypto/sha256.h"
#include "../librpc/gen_ndr/ndr_misc.h"
diff --git a/source4/utils/wscript_build b/source4/utils/wscript_build
index a5217b3c61..046e2372fd 100644
--- a/source4/utils/wscript_build
+++ b/source4/utils/wscript_build
@@ -14,6 +14,6 @@ bld.SAMBA_BINARY('ntlm_auth4',
bld.SAMBA_BINARY('oLschema2ldif',
source='oLschema2ldif.c',
manpages='man/oLschema2ldif.1',
- deps='ldb-cmdline samdb POPT_SAMBA'
+ deps='samdb POPT_SAMBA'
)