--- a/Foundation/src/NamedEvent_UNIX.cpp
+++ b/Foundation/src/NamedEvent_UNIX.cpp
@@ -137,7 +137,7 @@
 #if defined(sun) || defined(__APPLE__) || defined(__QNX__)
 	std::string fn = "/";
 #else
-	std::string fn = "/tmp/";
+	std::string fn = "@TERMUX_PREFIX@/tmp/";
 #endif
 	fn.append(_name);
 	fn.append(".event");
