build: Stop using deprecated dep.get_pkgconfig_variable() method

Use generic get_variable() instead
This commit is contained in:
Marco Trevisan (Treviño)
2024-02-20 01:00:29 +01:00
parent 3e5ab6fdad
commit 5501dc7b47
3 changed files with 4 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ content_files = [
expand_content_files = content_files
glib_prefix = dependency('glib-2.0').get_pkgconfig_variable('prefix')
glib_prefix = dependency('glib-2.0').get_variable(pkgconfig: 'prefix')
glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html')
docpath = join_paths(get_option('datadir'), 'gtk-doc', 'html')