summaryrefslogtreecommitdiff
path: root/daemon
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2021-09-13 22:49:01 +0200
committerIñigo Martínez <inigomartinez@gmail.com>2021-10-25 15:56:32 +0200
commit650bfc1a302fb7c7bdad2f5628fa047f5c57299e (patch)
treef53e4fb687602abef5f7e68255ed775d4fbd3d61 /daemon
parentdb5741f2475a50d7f274984693d4f8aba0e7a8f8 (diff)
downloadgvfs-650bfc1a302fb7c7bdad2f5628fa047f5c57299e.tar.gz
build: Make use of the new full_path method
The external program object returned by `find_program()` has been fixed and its `path` method has been deprecated and `full_path` is the method to be called[0]. The deprecated `path` method has been updated in meson build files. Required meson version has also been bumped to 0.55. [0] https://mesonbuild.com/Release-notes-for-0-55-0.html#find_program-fixes-when-the-program-has-been-overridden-by-executable
Diffstat (limited to 'daemon')
-rw-r--r--daemon/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/meson.build b/daemon/meson.build
index c89ef407..f70083f2 100644
--- a/daemon/meson.build
+++ b/daemon/meson.build
@@ -256,7 +256,7 @@ if enable_sftp
'-DDEFAULT_BACKEND_TYPE=sftp',
'-DBACKEND_TYPES="sftp", G_VFS_TYPE_BACKEND_SFTP,',
'-DMAX_JOB_THREADS=1',
- '-DSSH_PROGRAM="@0@"'.format(ssh.path()),
+ '-DSSH_PROGRAM="@0@"'.format(ssh.full_path()),
]
programs += [['gvfsd-sftp', {'sources': sources, 'dependencies': deps, 'c_args': cflags}]]