diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2022-10-29 12:34:31 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2022-10-29 12:43:28 +0200 |
| commit | 3bb3f618b92ca7cb705f334d8f6e11346b37f25f (patch) | |
| tree | a9ca32bb6a875859fba94b41a56f09325ac4bbee /src | |
| parent | 53195e3a255d83ddebe90fedd89b6e6a4b561bd4 (diff) | |
| download | box64-3bb3f618b92ca7cb705f334d8f6e11346b37f25f.tar.gz box64-3bb3f618b92ca7cb705f334d8f6e11346b37f25f.zip | |
Fix for dlsym(RTLD_NEXT, ...)
Diffstat (limited to 'src')
| -rwxr-xr-x | src/librarian/librarian.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librarian/librarian.c b/src/librarian/librarian.c index 08ca9c1e..4ee3a485 100755 --- a/src/librarian/librarian.c +++ b/src/librarian/librarian.c @@ -409,6 +409,7 @@ int GetNoSelfSymbolStartEnd(lib_t *maplib, const char* name, uintptr_t* start, u // loop done, weak symbol found if(weak && *start) return 1; + #if 0 // if self defined, give it another chance with self... defver = GetDefaultVersion(my_context->weakdefver, name); if(self) { @@ -428,6 +429,7 @@ int GetNoSelfSymbolStartEnd(lib_t *maplib, const char* name, uintptr_t* start, u return 1; } } + #endif // nope, not found return 0; } |