diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-06-20 16:13:38 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-06-20 17:42:22 +0200 |
commit | e812832db347269e46b28af31ff7ba3301405117 (patch) | |
tree | 1692d412da68b026750ee1665dbc03d1ae8a5ed0 | |
parent | 52307a11e1f0019f8fbdcce51676282aee21aa39 (diff) | |
download | samba-e812832db347269e46b28af31ff7ba3301405117.tar.gz samba-e812832db347269e46b28af31ff7ba3301405117.tar.bz2 samba-e812832db347269e46b28af31ff7ba3301405117.zip |
s4:ldb: only do ABI checking for the standalone build for now
Otherwise we fail to build samba4 with a system ldb.
metze
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
-rw-r--r-- | source4/lib/ldb/wscript | 36 |
1 files changed, 24 insertions, 12 deletions
diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript index df2245f674..588b6feaef 100644 --- a/source4/lib/ldb/wscript +++ b/source4/lib/ldb/wscript @@ -108,18 +108,30 @@ def build(bld): if not bld.CONFIG_SET('USING_SYSTEM_LDB'): modules_dir = bld.EXPAND_VARIABLES('${LDB_MODULESDIR}') - bld.SAMBA_LIBRARY('ldb', - COMMON_SRC + ' ' + LDB_MAP_SRC, - deps='tevent', - includes='include', - public_headers='include/ldb.h include/ldb_errors.h '\ - 'include/ldb_module.h include/ldb_handlers.h', - pc_files='ldb.pc', - cflags='-DLDB_MODULESDIR=\"%s\"' % modules_dir, - abi_file=abi_file, - abi_match='!ldb_*module_ops !ldb_*backend_ops ldb_*', - vnum=VERSION, manpages='man/ldb.3', - is_bundled=not bld.env.standalone_ldb) + if bld.env.standalone_ldb: + bld.SAMBA_LIBRARY('ldb', + COMMON_SRC + ' ' + LDB_MAP_SRC, + deps='tevent', + includes='include', + public_headers='include/ldb.h include/ldb_errors.h '\ + 'include/ldb_module.h include/ldb_handlers.h', + pc_files='ldb.pc', + cflags='-DLDB_MODULESDIR=\"%s\"' % modules_dir, + abi_file=abi_file, + abi_match='!ldb_*module_ops !ldb_*backend_ops ldb_*', + vnum=VERSION, manpages='man/ldb.3', + is_bundled=not bld.env.standalone_ldb) + else: + bld.SAMBA_LIBRARY('ldb', + COMMON_SRC + ' ' + LDB_MAP_SRC, + deps='tevent', + includes='include', + public_headers='include/ldb.h include/ldb_errors.h '\ + 'include/ldb_module.h include/ldb_handlers.h', + pc_files='ldb.pc', + cflags='-DLDB_MODULESDIR=\"%s\"' % modules_dir, + vnum=VERSION, manpages='man/ldb.3', + is_bundled=not bld.env.standalone_ldb) bld.SAMBA_PYTHON('pyldb', 'pyldb.c', deps='ldb pyldb_util', |