Enable initialization on 32bit android devices
This commit is contained in:
3 files changed
+5
-9
No files matched your search
+1
-6
@@ -29,12 +29,7 @@ actual object LibsodiumInitializer {
|
||||
SharedLibraryLoader.get().load("dynamic-msvc-x86-64-libsodium.dll", JnaLibsodiumInterface::class.java)
|
||||
}
|
||||
Platform.isAndroid() -> {
|
||||
when {
|
||||
Platform.is64Bit() -> {
|
||||
File("irrelevant")
|
||||
}
|
||||
else -> throw RuntimeException("Unsupported platform")
|
||||
}
|
||||
File("irrelevant")
|
||||
}
|
||||
else -> throw RuntimeException("Unknown platform")
|
||||
|
||||
|
||||
Reference in new issue
Block a user