diff --git a/data/meson.build b/data/meson.build index 464ff3a..51a1bc3 100644 --- a/data/meson.build +++ b/data/meson.build @@ -72,14 +72,14 @@ fish_completion = configure_file( bash_comp = dependency('bash-completion', required: false) if bash_comp.found() - bash_compdir = bash_comp.get_pkgconfig_variable('completionsdir') + bash_compdir = bash_comp.get_variable(pkgconfig: 'completionsdir') else bash_compdir = join_paths(datadir, 'bash-completion', 'completions') endif fish_comp = dependency('fish', required: false) if fish_comp.found() - fish_compdir = fish_comp.get_pkgconfig_variable('completionsdir') + fish_compdir = fish_comp.get_variable(pkgconfig: 'completionsdir') else fish_compdir = join_paths(datadir, 'fish', 'vendor_completions.d') endif