mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-15 15:48:26 -04:00
Android 5 support is broken, attempt to fix
dlopen(RTLD_NOW|RTLD_GLOBAL|RTLD_NODELETE) causing Android 5.0 support is broken DlLoader: using default libEGL.so DlLoader: unable to load: dlopen failed: invalid flags to dlopen: 1102
This commit is contained in:
parent
ecdbe3ec0a
commit
80ef076e2d
@ -687,8 +687,14 @@ bool loadSymbols() {
|
||||
break;
|
||||
}
|
||||
void* dl_handle = dlopen(fileNameExt,RTLD_NOW|RTLD_GLOBAL|RTLD_NODELETE);
|
||||
if (!dl_handle) {
|
||||
dl_handle = dlopen(fileNameExt,RTLD_NOW|RTLD_GLOBAL);
|
||||
}
|
||||
if (!dl_handle) {
|
||||
dl_handle = dlopen(fileName,RTLD_NOW|RTLD_GLOBAL|RTLD_NODELETE);
|
||||
if (!dl_handle) {
|
||||
dl_handle = dlopen(fileName,RTLD_NOW|RTLD_GLOBAL);
|
||||
}
|
||||
printf("DlLoader: using default %s\n", fileName);
|
||||
} else {
|
||||
printf("DlLoader: using external %s\n", fileNameExt);
|
||||
|
Loading…
x
Reference in New Issue
Block a user