about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedlibpthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrapped/wrappedlibpthread.c')
-rw-r--r--src/wrapped/wrappedlibpthread.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/wrapped/wrappedlibpthread.c b/src/wrapped/wrappedlibpthread.c
index 9b0184c6..c10492f4 100644
--- a/src/wrapped/wrappedlibpthread.c
+++ b/src/wrapped/wrappedlibpthread.c
@@ -18,7 +18,12 @@
 #include "box64context.h"
 #include "librarian.h"
 
-const char* libpthreadName = "libpthread.so.0";
+const char* libpthreadName = 
+#ifdef ANDROID
+    "libpthread.so";
+#else
+    "libpthread.so.0";
+#endif
 #define LIBNAME libpthread
 
 //EXPORT int my_pthread_attr_setschedparam(x64emu_t* emu, void* attr, void* param)