termux-packages/root-packages/sshfs/sftp_path.patch

12 lines
329 B
Diff

--- ./sshfs.c~ 2021-12-17 08:55:33.246390858 +0100
+++ ./sshfs.c 2021-12-17 08:56:18.000481713 +0100
@@ -130,7 +130,7 @@
#define RENAME_TEMP_CHARS 8
-#define SFTP_SERVER_PATH "/usr/lib/sftp-server"
+#define SFTP_SERVER_PATH "@TERMUX_PREFIX@/lib/sftp-server"
/* Asynchronous readdir parameters */
#define READDIR_START 2