Commit f0d3197f authored by Scott Anderson's avatar Scott Anderson

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-generatorSigned-off-by: Scott Anderson's avatarScott Anderson <scott.anderson@collabora.com>
parent fa2742b3
Pipeline #17282 passed with stage
in 9 minutes and 11 seconds
......@@ -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
)
......@@ -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
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment