Meson: Fix deprecation warning with 0.49.0 release

http://mesonbuild.com/Release-notes-for-0-49-0.html#deprecation-warning-in-pkgconfig-generator
This commit is contained in:
Xavier Claessens
2018-12-07 14:37:51 -05:00
parent fa80a2d133
commit 475f0a9b67
5 changed files with 8 additions and 5 deletions

View File

@@ -23,7 +23,8 @@ libgthread = library('gthread-2.0',
link_args : glib_link_flags,
)
pkg.generate(libraries : [libgthread, thread_dep],
pkg.generate(libgthread,
libraries : [thread_dep],
requires : ['glib-2.0'],
version : glib_version,
install_dir : glib_pkgconfigreldir,