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

@@ -109,7 +109,8 @@ libgmodule = library('gmodule-2.0',
supported_var = 'gmodule_supported=@0@'.format(g_module_impl != '0')
pkg.generate(libraries : [libgmodule, thread_dep],
pkg.generate(libgmodule,
libraries : [thread_dep],
requires : ['glib-2.0'],
version : glib_version,
variables : [supported_var],