diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-06-15 17:12:35 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-06-15 17:12:35 +0200 |
| commit | b2a1af10291b705c6ea0cf806a91d99da05fb9ca (patch) | |
| tree | dc763fa8d6e5bdce2f18352c6ad932b7c0453c61 /src | |
| parent | c44961c06304a9f669147eb263d3e20b54cba7ec (diff) | |
| download | box64-b2a1af10291b705c6ea0cf806a91d99da05fb9ca.tar.gz box64-b2a1af10291b705c6ea0cf806a91d99da05fb9ca.zip | |
Fixed a crash with some glibc wrapped /not-yet wrapped libs
Diffstat (limited to 'src')
| -rwxr-xr-x | src/librarian/library.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librarian/library.c b/src/librarian/library.c index 1b858447..0e9f48cc 100755 --- a/src/librarian/library.c +++ b/src/librarian/library.c @@ -151,7 +151,7 @@ static void initNativeLib(library_t *lib, box64context_t* context) { lib->getlocal = NativeLib_GetLocal; lib->type = 0; // Call librarian to load all dependant elf - if(AddNeededLib(context->maplib, &lib->needed, lib, 0, (const char**)lib->priv.w.neededlibs, lib->priv.w.needed, context, NULL)) { // probably all native, not emulated, so that's fine + if(AddNeededLib(context->maplib, &lib->needed, lib, 0, (const char**)lib->priv.w.neededlibs, lib->priv.w.needed, context, thread_get_emu())) { printf_log(LOG_NONE, "Error: loading a needed libs in elf %s\n", lib->name); return; } |