diff options
author | Andreas Schneider <asn@samba.org> | 2021-06-08 14:29:06 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2021-07-07 05:07:30 +0000 |
commit | 740a217264f10c5f3a9ecac8aab8727e45ff885d (patch) | |
tree | 9889933db2a68fa7752afaada7db779435154ac8 /third_party/cmocka | |
parent | 00bab5b3c821f272153a25ded9743460887a7907 (diff) | |
download | samba-740a217264f10c5f3a9ecac8aab8727e45ff885d.tar.gz |
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>
Diffstat (limited to 'third_party/cmocka')
-rw-r--r-- | third_party/cmocka/wscript | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/cmocka/wscript b/third_party/cmocka/wscript index 3c2ad50801a..ebac963b0e1 100644 --- a/third_party/cmocka/wscript +++ b/third_party/cmocka/wscript @@ -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) |