1
0

bundle libsecp256k1 in android apk

this works as there is already a p4a recipe upstream: 74bf788a29/pythonforandroid/recipes/libsecp256k1/__init__.py
This commit is contained in:
SomberNight
2018-05-28 00:43:05 +02:00
parent 483a2a40cd
commit 86992aea6c
2 changed files with 3 additions and 1 deletions

View File

@@ -37,6 +37,8 @@ def load_library():
library_path = 'libsecp256k1.dylib'
elif sys.platform in ('windows', 'win32'):
library_path = 'libsecp256k1.dll'
elif 'ANDROID_DATA' in os.environ:
library_path = 'libsecp256k1.so'
else:
library_path = 'libsecp256k1.so.0'