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 <scott.anderson@collabora.com>
dev
Scott Anderson 6 years ago
parent fa2742b380
commit f0d3197fa5
  1. 2
      libweston-desktop/meson.build
  2. 2
      libweston/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
)

@ -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
)

Loading…
Cancel
Save