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:
parent
00bab5b3c8
commit
740a217264
2
third_party/cmocka/wscript
vendored
2
third_party/cmocka/wscript
vendored
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user