mirror of
https://github.com/ptitSeb/box86.git
synced 2024-11-30 02:10:31 +00:00
Fix for dlsym(RTLD_NEXT, ...)
This commit is contained in:
parent
d8ec77da69
commit
ccf612a711
@ -410,6 +410,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) {
|
||||
@ -429,6 +430,7 @@ int GetNoSelfSymbolStartEnd(lib_t *maplib, const char* name, uintptr_t* start, u
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
// nope, not found
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user