meson: Remove uses of get_pkgconfig_variable
It will throw warnings on 0.56 or newer.
This commit is contained in:
parent
146a76c0dd
commit
fa99f13900
2 changed files with 3 additions and 3 deletions
|
|
@ -119,7 +119,7 @@ icu_uc = declare_dependency(
|
|||
if libunwind_dep.found()
|
||||
# We need to add native lib to the search path for these so Flatpak
|
||||
# builds can find it.
|
||||
unwind_lib = libunwind_dep.get_pkgconfig_variable('libdir')
|
||||
unwind_lib = libunwind_dep.get_variable(pkgconfig: 'libdir')
|
||||
libunwind = declare_dependency(
|
||||
dependencies: [
|
||||
valac.find_library('libunwind', dirs: [vapi_dir, unwind_lib]),
|
||||
|
|
@ -207,7 +207,7 @@ vala_unit_dep = vala_unit_proj.get_variable('vala_unit_dep')
|
|||
|
||||
# Language detection
|
||||
|
||||
iso_codes_dir = iso_codes.get_pkgconfig_variable('prefix')/'share'/'xml'/'iso-codes'
|
||||
iso_codes_dir = iso_codes.get_variable(pkgconfig: 'prefix')/'share'/'xml'/'iso-codes'
|
||||
|
||||
iso_639_xml = get_option('iso_639_xml')
|
||||
if iso_639_xml == ''
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ if libmessagingmenu_dep.found()
|
|||
# Vala libs manually
|
||||
messaging_menu_dependencies += declare_dependency(
|
||||
include_directories: include_directories(
|
||||
libmessagingmenu_dep.get_pkgconfig_variable('includedir')
|
||||
libmessagingmenu_dep.get_variable(pkgconfig: 'includedir')
|
||||
),
|
||||
dependencies: [
|
||||
valac.find_library('MessagingMenu-1.0', dirs: [ '/usr/share/vala/vapi' ]),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue