From a48c0659e12bfb2d715cceca75eff24ae6024bba Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Thu, 2 Aug 2018 14:50:27 +0100 Subject: [PATCH] meson: use correct keyword to fix a meson warning With a sufficently recent meson, the following warning is produced: WARNING: Passed invalid keyword argument "extra_args". WARNING: This will become a hard error in the future. It seems that compiler.links(args:) is meant here. Signed-off-by: Jon Turney Reviewed-and-Tested-by: Eric Engestrom Reviewed-by: Dylan Baker --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 86a4a4ce6da..cbf88b50139 100644 --- a/meson.build +++ b/meson.build @@ -989,7 +989,7 @@ if cc.links(''' freelocale(loc); return 0; }''', - extra_args : pre_args, + args : pre_args, name : 'strtod has locale support') pre_args += '-DHAVE_STRTOD_L' endif -- 2.30.2