Skip to content

Commit

Permalink
[ANDROID] Fix libdl.so name
Browse files Browse the repository at this point in the history
  • Loading branch information
KreitinnSoftware committed Sep 30, 2023
1 parent 062d2a6 commit 2d17536
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/wrapped/wrappedlibdl.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ void* my_dlvsym(x86emu_t* emu, void *handle, void *symbol, const char *vername)
int my_dlinfo(x86emu_t* emu, void* handle, int request, void* info) EXPORT;

#define LIBNAME libdl
const char* libdlName = "libdl.so.2";
#ifdef ANDROID
const char* libdlName = "libdl.so";
#else
const char* libdlName = "libdl.so.2";
#endif

#define CLEARERR if(dl->last_error) box_free(dl->last_error); dl->last_error = NULL;

Expand Down

0 comments on commit 2d17536

Please sign in to comment.