diff options
author | Joseph Sutton <josephsutton@catalyst.net.nz> | 2022-11-03 17:35:58 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2022-11-08 02:39:37 +0000 |
commit | 6fe6992258d2c59dfc8cb979deb25ba6020a1c06 (patch) | |
tree | 8bc1b67cf9347290d4715174845184cdebfeac9f /buildtools | |
parent | a3ee0ce255c7acb7abf58e70b75025b5fefdb275 (diff) | |
download | samba-6fe6992258d2c59dfc8cb979deb25ba6020a1c06.tar.gz |
wafsamba: Have CHECK_C_PROTOTYPE() pass through 'lib' into CHECK_CODE()
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'buildtools')
-rw-r--r-- | buildtools/wafsamba/samba_conftests.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/buildtools/wafsamba/samba_conftests.py b/buildtools/wafsamba/samba_conftests.py index ef632ba9033..2c3149c0fa2 100644 --- a/buildtools/wafsamba/samba_conftests.py +++ b/buildtools/wafsamba/samba_conftests.py @@ -126,7 +126,7 @@ def CHECK_LARGEFILE(conf, define='HAVE_LARGEFILE'): @conf -def CHECK_C_PROTOTYPE(conf, function, prototype, define, headers=None, msg=None): +def CHECK_C_PROTOTYPE(conf, function, prototype, define, headers=None, msg=None, lib=None): '''verify that a C prototype matches the one on the current system''' if not conf.CHECK_DECLS(function, headers=headers): return False @@ -138,7 +138,8 @@ def CHECK_C_PROTOTYPE(conf, function, prototype, define, headers=None, msg=None) headers=headers, link=False, execute=False, - msg=msg) + msg=msg, + lib=lib) @conf |