summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/wscript
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-18 12:48:09 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-18 15:00:38 +1000
commit77768dbd75d0f4b41c41d7b2fc86a2994636635a (patch)
tree009599687063e816db2a26ed51ebbfe80d42865d /source4/lib/ldb/wscript
parent7d90b5960229f8ddd2aeb64fcf0834a3ad461acf (diff)
downloadsamba-77768dbd75d0f4b41c41d7b2fc86a2994636635a.tar.gz
samba-77768dbd75d0f4b41c41d7b2fc86a2994636635a.tar.bz2
samba-77768dbd75d0f4b41c41d7b2fc86a2994636635a.zip
ldb-waf: enable ABI checking in ldb
we use separate signature files for ldb and ldb-samba4, as the samba4 varient of the library has many more public symbols
Diffstat (limited to 'source4/lib/ldb/wscript')
-rw-r--r--source4/lib/ldb/wscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript
index ea0219ff4b..cc0f218b8f 100644
--- a/source4/lib/ldb/wscript
+++ b/source4/lib/ldb/wscript
@@ -150,6 +150,9 @@ def build(bld):
ldb_deps = 'tevent LIBLDB'
if s4_build:
ldb_deps += ' LDBSAMBA POPT_CREDENTIALS POPT_SAMBA LIBCMDLINE_CREDENTIALS gensec'
+ abi_file='ABI/ldb-samba4-%s.sigs' % VERSION
+ else:
+ abi_file='ABI/ldb-%s.sigs' % VERSION
if not bld.CONFIG_SET('USING_SYSTEM_LDB'):
modules_dir = bld.EXPAND_VARIABLES('${LDB_MODULESDIR}')
@@ -160,6 +163,8 @@ def build(bld):
public_headers='include/ldb.h include/ldb_errors.h',
pc_files='ldb.pc',
cflags='-DLDB_MODULESDIR=\"%s\"' % modules_dir,
+ abi_file=abi_file,
+ abi_match='ldb_*',
vnum=VERSION)
bld.SAMBA_SUBSYSTEM('LIBLDB_CMDLINE',