We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6905c2b + 58f7618 commit 8db9f34Copy full SHA for 8db9f34
pythonforandroid/recipes/python2/patches/ctypes-find-library-updated.patch
@@ -12,7 +12,7 @@ index 52b3520..01b13a9 100644
12
+if True:
13
+ def find_library(name):
14
+ # Check the user app lib dir
15
-+ app_root = os.path.abspath('./').split(os.path.sep)[0:4]
++ app_root = os.path.abspath('../../').split(os.path.sep)
16
+ lib_search = os.path.sep.join(app_root) + os.path.sep + 'lib'
17
+ for filename in os.listdir(lib_search):
18
+ if filename.endswith('.so') and name in filename:
0 commit comments