1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

third_party:cmocka: Fix build when used in lib/tevent

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Andreas Schneider 2021-06-08 14:29:06 +02:00 committed by Andreas Schneider
parent 00bab5b3c8
commit 740a217264

View File

@ -3,6 +3,7 @@
from waflib import Options
def configure(conf):
conf.CHECK_FUNCS('strsignal')
conf.CHECK_FUNCS('longjmp siglongjmp')
if conf.CHECK_CMOCKA():
@ -19,6 +20,7 @@ def build(bld):
bld.SAMBA_LIBRARY('cmocka',
source='cmocka.c',
cflags='-DHAVE_CONFIG_H=1',
deps=extra_libs,
allow_warnings=True,
private_library=True)