summaryrefslogtreecommitdiff
path: root/source4/lib/ldb-samba/wscript_build
diff options
context:
space:
mode:
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',