From dc7262176a9ae8cc29fa400663ed1b7adda4e750 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sat, 16 Sep 2023 13:10:12 +0300 Subject: [PATCH 11/11] Meson: Fix build with meson-0.59 See osdn #48633 Signed-off-by: Marko Lindqvist --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 3de90d400f..0c19b0a1f5 100644 --- a/meson.build +++ b/meson.build @@ -567,7 +567,7 @@ int main(void) { struct ip_mreqn req; req.imr_ifindex = 0; return 0; }''', priv_conf_data.set('HAVE_IP_MREQN', 1) endif -if c_compiler.has_function('iconv', args: [header_arg, '-O']) +if c_compiler.has_function('iconv', args: header_arg + ['-O']) priv_conf_data.set('HAVE_ICONV', 1) iconv_lib_dep = [] elif c_compiler.has_header_symbol('iconv.h', 'iconv', args: header_arg) -- 2.40.1