about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wrapped/wrappedexpat.c1
-rw-r--r--src/wrapped/wrappedfontconfig.c4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/wrapped/wrappedexpat.c b/src/wrapped/wrappedexpat.c
index be880b8b..84afb85b 100644
--- a/src/wrapped/wrappedexpat.c
+++ b/src/wrapped/wrappedexpat.c
@@ -20,6 +20,7 @@
 
 const char* expatName = "libexpat.so.1";
 #define LIBNAME expat
+#define ALTNAME "libexpat.so"
 
 #include "generated/wrappedexpattypes.h"
 
diff --git a/src/wrapped/wrappedfontconfig.c b/src/wrapped/wrappedfontconfig.c
index 41ef3507..246f5e92 100644
--- a/src/wrapped/wrappedfontconfig.c
+++ b/src/wrapped/wrappedfontconfig.c
@@ -66,6 +66,10 @@ EXPORT void* my_FcPatternBuild(x64emu_t* emu, void* pattern, uint64_t* b)
     return my->FcPatternVaBuild(pattern, VARARGS);
 }
 
+#ifdef ANDROID
+#define NEEDED_LIBS "libexpat.so", "libfreetype.so"
+#else
 #define NEEDED_LIBS "libexpat.so.1", "libfreetype.so.6"
+#endif
 
 #include "wrappedlib_init.h"