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:
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user