Fix for dlsym(RTLD_NEXT, ...)

This commit is contained in:
ptitSeb 2022-10-29 13:52:04 +02:00
parent d8ec77da69
commit ccf612a711

View File

@ -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;
}