diff options
| author | KreitinnSoftware <80591934+KreitinnSoftware@users.noreply.github.com> | 2023-10-02 13:26:20 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-02 18:26:20 +0200 |
| commit | 57b762eb2976229a1297bd39a00976b3753de4d7 (patch) | |
| tree | bd206d2c812c9e400d933e61486aa1d27cb3927c /src/wrapped/wrappedlibxpm.c | |
| parent | a4eb0cbd74423b7bdbeb3189c12905340108ec50 (diff) | |
| download | box64-57b762eb2976229a1297bd39a00976b3753de4d7.tar.gz box64-57b762eb2976229a1297bd39a00976b3753de4d7.zip | |
Add __sF, __assert2 Symbol and set PThread Symbols on libc (#1004)
* Add __sF, __assert2 Symbol and set PThread Symbols on libc * [ANDROID] Fix Most Library Names
Diffstat (limited to 'src/wrapped/wrappedlibxpm.c')
| -rw-r--r-- | src/wrapped/wrappedlibxpm.c | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/wrapped/wrappedlibxpm.c b/src/wrapped/wrappedlibxpm.c index b978082c..c4abc7f0 100644 --- a/src/wrapped/wrappedlibxpm.c +++ b/src/wrapped/wrappedlibxpm.c @@ -11,10 +11,20 @@ #include "librarian/library_private.h" #include "x64emu.h" -const char* libxpmName = "libXpm.so.4"; +#ifdef ANDROID + const char* libxpmName = "libXpm.so"; +#else + const char* libxpmName = "libXpm.so.4"; +#endif + #define LIBNAME libxpm -#define CUSTOM_INIT \ - setNeededLibs(lib, 2, "libX11.so.6", "libXext.so.6"); +#ifdef ANDROID + #define CUSTOM_INIT \ + setNeededLibs(lib, 2, "libX11.so", "libXext.so"); +#else + #define CUSTOM_INIT \ + setNeededLibs(lib, 2, "libX11.so.6", "libXext.so.6"); +#endif #include "wrappedlib_init.h" \ No newline at end of file |