summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2018-08-02 14:50:27 +0100
committerAndres Gomez <agomez@igalia.com>2018-08-07 20:59:51 +0300
commit4a769c88505b025c31e58daced09301b21902c40 (patch)
tree538fddc7b647565b7b1948399605c93740c68cd9
parentd39fb6d1571597964c31adf380a1e772838936c7 (diff)
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 <jon.turney@dronecode.org.uk> Reviewed-and-Tested-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> (cherry picked from commit a48c0659e12bfb2d715cceca75eff24ae6024bba)
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
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