Skip to content

Commit

Permalink
fix: mapLibraryName should do nothing on android, since we don't load…
Browse files Browse the repository at this point in the history
… it by file
  • Loading branch information
Berstanio committed Dec 18, 2023
1 parent 64d8f7a commit 6b5236b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,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 6b5236b

Please sign in to comment.