From f1c79a8eae2ad732034efea9a8efbea86117df1c Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Tue, 5 Jan 2021 17:16:29 +0000 Subject: [PATCH] trivial: Fix a warning generated by new versions of meson This fixes: DEPRECATION: Library fwupd was passed to the "libraries" keyword argument of a previous call to generate() method instead of first positional argument. Adding fwupd to "Requires" field, but this is a deprecated behaviour that will change in a future version of Meson. --- libfwupd/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfwupd/meson.build b/libfwupd/meson.build index 8f8461732..2373026e5 100644 --- a/libfwupd/meson.build +++ b/libfwupd/meson.build @@ -81,7 +81,7 @@ libfwupd_dep = declare_dependency( pkgg = import('pkgconfig') pkgg.generate( - libraries : fwupd, + fwupd, requires : [ 'gio-2.0' ], subdirs : 'fwupd-1', version : meson.project_version(),