summaryrefslogtreecommitdiff
path: root/source4/lib/ldb-samba/wscript_build
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-06-20 11:33:43 +0200
committerStefan Metzmacher <metze@samba.org>2010-06-20 11:33:43 +0200
commit44c01a5eb45a0cd5ca3de8be5c4680de75418dce (patch)
tree6862839c91151bdb6664cd2e9c44b9f71f352646 /source4/lib/ldb-samba/wscript_build
parenta453b87d68f89c48e0d0545fe240801e4eac1686 (diff)
downloadsamba-44c01a5eb45a0cd5ca3de8be5c4680de75418dce.tar.gz
samba-44c01a5eb45a0cd5ca3de8be5c4680de75418dce.tar.bz2
samba-44c01a5eb45a0cd5ca3de8be5c4680de75418dce.zip
s4:ldb-samba: fix the build without a system ldb
metze
Diffstat (limited to 'source4/lib/ldb-samba/wscript_build')
-rw-r--r--source4/lib/ldb-samba/wscript_build6
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/lib/ldb-samba/wscript_build b/source4/lib/ldb-samba/wscript_build
index 37cfce27df..717a8465a7 100644
--- a/source4/lib/ldb-samba/wscript_build
+++ b/source4/lib/ldb-samba/wscript_build
@@ -1,7 +1,11 @@
#!/usr/bin/env python
-bld.SAMBA_SUBSYSTEM('LDBSAMBA',
+# It is important that this is a library!
+# Otherwise samba specific symbols end up in
+# 'ldb' and we fail the ABI check, when not using
+# a system 'ldb'.
+bld.SAMBA_LIBRARY('LDBSAMBA',
source='ldif_handlers.c ldb_wrap.c',
autoproto='ldif_handlers_proto.h',
public_deps='ldb',