Skip to content

Commit

Permalink
Merge pull request #55 from Berstanio/fix/android-library-loading
Browse files Browse the repository at this point in the history
Fix library loading on android
  • Loading branch information
PokeMMO authored Dec 18, 2023
2 parents 21a622d + 6b5236b commit 4c011de
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ public String crc (InputStream input) {

/** Maps a platform independent library name to a platform dependent name. */
public String mapLibraryName (String libraryName) {
if (os == Os.Android)
return libraryName;
return os.getLibPrefix() + libraryName + architecture.toSuffix() + bitness.toSuffix() + "." + os.getLibExtension();
}

Expand Down

0 comments on commit 4c011de

Please sign in to comment.