add linux aarch64 libsecp256k1

This commit is contained in:
Craig Raw 2022-10-06 14:35:29 +02:00
parent 60cb3ed85f
commit f183146d13
2 changed files with 2 additions and 0 deletions

View file

@ -42,6 +42,8 @@ public class Secp256k1Context {
NativeUtils.loadLibraryFromJar("/native/osx/x64/libsecp256k1.dylib");
} else if(osName.startsWith("Windows")) {
NativeUtils.loadLibraryFromJar("/native/windows/x64/libsecp256k1-0.dll");
} else if(osArch.equals("aarch64")) {
NativeUtils.loadLibraryFromJar("/native/linux/aarch64/libsecp256k1.so");
} else {
NativeUtils.loadLibraryFromJar("/native/linux/x64/libsecp256k1.so");
}