about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedlibpthread.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-02-26 21:16:06 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-02-26 21:16:06 +0100
commitcf8ea5953eb684bc28283578d54689c86b7f4577 (patch)
tree4a3a273433e20c7543825a3db9212bf22d258dae /src/wrapped/wrappedlibpthread.c
parent65ddcdeabb616d82922acaf2ba30d5e44bad2a3c (diff)
downloadbox64-cf8ea5953eb684bc28283578d54689c86b7f4577.tar.gz
box64-cf8ea5953eb684bc28283578d54689c86b7f4577.zip
[ANDROID] Now build, stop complaining
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)