mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-29 15:10:15 +00:00
14 lines
418 B
Diff
14 lines
418 B
Diff
--- a/src/main.c
|
|
+++ b/src/main.c
|
|
@@ -53,8 +53,8 @@
|
|
#include "client.h"
|
|
#include "conf.h"
|
|
|
|
-static const char *socket_path = "/var/run/usbmuxd";
|
|
-#define DEFAULT_LOCKFILE "/var/run/usbmuxd.pid"
|
|
+static const char *socket_path = "@TERMUX_PREFIX@/var/run/usbmuxd";
|
|
+#define DEFAULT_LOCKFILE "@TERMUX_PREFIX@/var/run/usbmuxd.pid"
|
|
static const char *lockfile = DEFAULT_LOCKFILE;
|
|
|
|
// Global state used in other files
|