From: Andrew Bartlett Date: Thu, 4 Jul 2019 02:52:27 +0000 (+1200) Subject: ldb: Fix dependency on ldb_key_value_sub_txn_{mdb_}test X-Git-Tag: ldb-2.0.5~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f58324570655fd9bc08a1ba3923782fb27183917;p=thirdparty%2Fsamba.git ldb: Fix dependency on ldb_key_value_sub_txn_{mdb_}test ldb_tdb can be a module, but the test is actually looking for ltdb_err_map() in ldb_tdb_err_map. Signed-off-by: Andrew Bartlett Reviewed-by: Douglas Bagnall --- diff --git a/lib/ldb/wscript b/lib/ldb/wscript index ef92f8f5991..2bbeb6a0d64 100644 --- a/lib/ldb/wscript +++ b/lib/ldb/wscript @@ -519,7 +519,7 @@ def build(bld): ldb_kv_cache.c''') + 'tests/ldb_key_value_sub_txn_test.c', cflags='-DTEST_BE=\"tdb\"', - deps='cmocka ldb ldb_tdb', + deps='cmocka ldb ldb_tdb_err_map', install=False) if bld.CONFIG_SET('HAVE_LMDB'): @@ -561,7 +561,7 @@ def build(bld): ldb_kv_cache.c''') + 'tests/ldb_key_value_sub_txn_test.c', cflags='-DTEST_BE=\"mdb\"', - deps='cmocka ldb ldb_tdb', + deps='cmocka ldb ldb_tdb_err_map', install=False) else: bld.SAMBA_BINARY('ldb_no_lmdb_test',