[tracker] meson: Fix bash completion dir guessing
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] meson: Fix bash completion dir guessing
- Date: Mon, 24 Jul 2017 08:22:54 +0000 (UTC)
commit ee6444ebba4c45d7e212b7657d6fb54c13351557
Author: Carlos Garnacho <carlosg gnome org>
Date: Sat Jul 22 11:45:44 2017 +0200
meson: Fix bash completion dir guessing
Use the right method to fetch a pkg-config variable.
https://bugzilla.gnome.org/show_bug.cgi?id=785248
meson.build | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meson.build b/meson.build
index c166471..c306bf0 100644
--- a/meson.build
+++ b/meson.build
@@ -322,7 +322,7 @@ install_bash_completion = false
if get_option('bash_completion') == 'yes' or get_option('bash_completion') == 'auto'
bash_completion_package = dependency('bash-completion', required: false)
if bash_completion_package.found()
- bash_completion_dir = bash_completion_package.get_variable('completionsdir')
+ bash_completion_dir = bash_completion_package.get_pkgconfig_variable('completionsdir')
else
bash_completion_dir = join_paths(get_option('prefix'), get_option('datadir'), 'bash-completion',
'completions')
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]