[gcr/meson-stuff: 6/6] meson: Use `full_path()` instead of `path()`




commit 35e9e71edabd8d1b1c4c8b04db90e283284019ad
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Sun Jun 12 23:41:12 2022 +0200

    meson: Use `full_path()` instead of `path()`

 meson.build | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/meson.build b/meson.build
index e58e97e6..21a02fa2 100644
--- a/meson.build
+++ b/meson.build
@@ -51,7 +51,7 @@ gio_unix_dep = dependency('gio-unix-2.0',version: '>=' + min_glib_version)
 glib_deps = [ glib_dep, gmodule_dep, gthread_dep, gobject_dep, gio_dep, gio_unix_dep, ]
 gpg_path = get_option('gpg_path')
 if gpg_path == ''
-  gpg_path = find_program('gpg2', 'gpg').path()
+  gpg_path = find_program('gpg2', 'gpg').full_path()
 endif
 libgcrypt_dep = dependency('libgcrypt', version: '>= 1')
 p11kit_dep = dependency('p11-kit-1', version: '>= 0.19.0')
@@ -60,8 +60,8 @@ if p11_system_config_modules == ''
   error('Couldn\'t find location for pkcs11 module config')
 endif
 libsecret_dep = dependency('libsecret-1', version: '>= 0.20', required: get_option('ssh_agent'))
-ssh_add_path = find_program('ssh-add', required: get_option('ssh_agent')).path()
-ssh_agent_path = find_program('ssh-agent', required: get_option('ssh_agent')).path()
+ssh_add_path = find_program('ssh-add', required: get_option('ssh_agent')).full_path()
+ssh_agent_path = find_program('ssh-agent', required: get_option('ssh_agent')).full_path()
 
 with_systemd = false
 libsystemd_deps = []


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]