mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
ctdb-tests: Do not build mutex test if robust mutexes are not supported
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12469 Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 08b4a5f9f1575c882ab7174eb3249b574df6976f)
This commit is contained in:
parent
5f84242406
commit
78e4f07aec
@ -750,6 +750,7 @@ def build(bld):
|
|||||||
ib_deps,
|
ib_deps,
|
||||||
install_path='${CTDB_TEST_LIBEXECDIR}')
|
install_path='${CTDB_TEST_LIBEXECDIR}')
|
||||||
|
|
||||||
|
if bld.env.HAVE_ROBUST_MUTEXES:
|
||||||
bld.SAMBA_BINARY('test_mutex_raw',
|
bld.SAMBA_BINARY('test_mutex_raw',
|
||||||
source='tests/src/test_mutex_raw.c',
|
source='tests/src/test_mutex_raw.c',
|
||||||
deps='pthread',
|
deps='pthread',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user