File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
bootstraps/common/build/src/main/java/org/kivy/android Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ protected static ArrayList<String> getLibraries(File libsDir) {
44
44
libsList .add ("python3.6m" );
45
45
libsList .add ("python3.7m" );
46
46
libsList .add ("python3.8" );
47
+ libsList .add ("python3.9" );
47
48
libsList .add ("main" );
48
49
return libsList ;
49
50
}
@@ -63,7 +64,7 @@ public static void loadLibraries(File filesDir, File libsDir) {
63
64
// load, and it has failed, give a more
64
65
// general error
65
66
Log .v (TAG , "Library loading error: " + e .getMessage ());
66
- if (lib .startsWith ("python3.8 " ) && !foundPython ) {
67
+ if (lib .startsWith ("python3.9 " ) && !foundPython ) {
67
68
throw new RuntimeException ("Could not load any libpythonXXX.so" );
68
69
} else if (lib .startsWith ("python" )) {
69
70
continue ;
Original file line number Diff line number Diff line change @@ -67,14 +67,16 @@ class Python3Recipe(TargetPythonRecipe):
67
67
('patches/py3.7.1_fix-ctypes-util-find-library.patch' , version_starts_with ("3.7" )),
68
68
('patches/py3.7.1_fix-zlib-version.patch' , version_starts_with ("3.7" )),
69
69
70
- # Python 3.8.1
71
- ('patches/py3.8.1.patch' , version_starts_with ("3.8" ))
70
+ # Python 3.8.1 & 3.9.X
71
+ ('patches/py3.8.1.patch' , version_starts_with ("3.8" )),
72
+ ('patches/py3.8.1.patch' , version_starts_with ("3.9" ))
72
73
]
73
74
74
75
if sh .which ('lld' ) is not None :
75
76
patches = patches + [
76
77
("patches/py3.7.1_fix_cortex_a8.patch" , version_starts_with ("3.7" )),
77
- ("patches/py3.8.1_fix_cortex_a8.patch" , version_starts_with ("3.8" ))
78
+ ("patches/py3.8.1_fix_cortex_a8.patch" , version_starts_with ("3.8" )),
79
+ ("patches/py3.8.1_fix_cortex_a8.patch" , version_starts_with ("3.9" ))
78
80
]
79
81
80
82
depends = ['hostpython3' , 'sqlite3' , 'openssl' , 'libffi' ]
You can’t perform that action at this time.
0 commit comments