From f0d3197fa52cf127ffb73e1f956577395c6d0084 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Fri, 1 Feb 2019 12:11:31 +1300 Subject: [PATCH] meson: Fix deprecation warning for pkgconfig Meson 0.49 now issues a warning for libraries being passed into the 'libraries' keyword argument. Now they should be passed as a positional argument. See https://mesonbuild.com/Release-notes-for-0-49-0.html#deprecation-warning-in-pkgconfig-generator Signed-off-by: Scott Anderson --- libweston-desktop/meson.build | 2 +- libweston/meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libweston-desktop/meson.build b/libweston-desktop/meson.build index 81bd64e2..d6be7a84 100644 --- a/libweston-desktop/meson.build +++ b/libweston-desktop/meson.build @@ -25,11 +25,11 @@ dep_lib_desktop = declare_dependency( install_headers('libweston-desktop.h', subdir: dir_include_libweston) pkgconfig.generate( + lib_desktop, filebase: 'libweston-desktop-@0@'.format(libweston_major), name: 'libweston-desktop', version: version_weston, description: 'Desktop shells abstraction library for libweston compositors', - libraries: lib_desktop, requires_private: [ lib_weston, dep_wayland_server ], subdirs: dir_include_libweston ) diff --git a/libweston/meson.build b/libweston/meson.build index bfb5defa..1c94433c 100644 --- a/libweston/meson.build +++ b/libweston/meson.build @@ -81,11 +81,11 @@ dep_libweston = declare_dependency( ) pkgconfig.generate( + lib_weston, filebase: 'libweston-@0@'.format(libweston_major), name: 'libweston API', version: version_weston, description: 'Header files for libweston compositors development', - libraries: lib_weston, requires_private: [ dep_wayland_server, dep_pixman, dep_xkbcommon ], subdirs: dir_include_libweston )