Skip to content

Commit

Permalink
chore: dlopen: try as many as so available
Browse files Browse the repository at this point in the history
  • Loading branch information
cinit committed Jul 18, 2023
1 parent b6a73d4 commit c291d06
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions app/src/main/java/io/github/qauxv/util/Natives.java
Original file line number Diff line number Diff line change
Expand Up @@ -261,13 +261,6 @@ private static void loadNativeLibraryInHost(Context ctx, String modulePath, List
return;
} catch (UnsatisfiedLinkError e1) {
throwIfJniError(e1);
String errMsg = e1.getMessage();
if (errMsg != null && errMsg.contains(" EM_")) {
// linker or native bridge is complaining about the ELF machine type, try next
} else {
// older linker doesn't support memory map, try extract and dlopen
break;
}
}
}
}
Expand Down

0 comments on commit c291d06

Please sign in to comment.