buildtools/wafsamba: Avoid calling lib_func without a prototype
authorFlorian Weimer <fweimer@redhat.com>
Mon, 21 Nov 2022 12:37:41 +0000 (13:37 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 9 Jan 2023 10:43:37 +0000 (10:43 +0000)
commit75db84b1e59a42737343445c43c41494460c89f0
treefe0f501a1a4e66d6a4923cc10da29cdffbc895b2
parent7545e2c77b69fc57e436e3ed298fdb68033ce49f
buildtools/wafsamba: Avoid calling lib_func without a prototype

This is a backport of commit f4c0a750d4adebcf2342a44e85f04526c34
("WAF: Fix detection of linker features")
to buildtools/wafsamba/samba_conftests.py.  It fixes the check for
rpath support with compilers in strict C99 mode.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15281

Signed-off-by: Florian Weimer <fweimer@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
buildtools/wafsamba/samba_waf18.py