diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-03-03 17:06:00 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-03-03 17:06:00 +0100 |
| commit | 9aabe9c97fecb77f70361e0e0df8380f1489fc81 (patch) | |
| tree | 298c3b0f79079020b12dd2ed1a9a26ea136b2e81 /src/main.c | |
| parent | 745a68f556537aaaaa8ee25a76b5757d3d3f7494 (diff) | |
| download | box64-9aabe9c97fecb77f70361e0e0df8380f1489fc81.tar.gz box64-9aabe9c97fecb77f70361e0e0df8380f1489fc81.zip | |
Added rt and pthread wrapped lib
Diffstat (limited to 'src/main.c')
| -rwxr-xr-x | src/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index 17b94f9b..b67b9789 100755 --- a/src/main.c +++ b/src/main.c @@ -858,6 +858,12 @@ int main(int argc, const char **argv, const char **env) { } } FreeCollection(&ld_preload); + // Call librarian to load all dependant elf + if(LoadNeededLibs(elf_header, my_context->maplib, &my_context->neededlibs, 0, my_context, emu)) { + printf_log(LOG_NONE, "Error: loading needed libs in elf %s\n", my_context->argv[0]); + FreeBox64Context(&my_context); + return -1; + } return 0; } |