@@ -138,8 +138,8 @@ def make_build_python(context):
138
138
139
139
def unpack_deps (host ):
140
140
deps_url = "https://github.com/beeware/cpython-android-source-deps/releases/download"
141
- for name_ver in ["bzip2-1.0.8-1 " , "libffi-3.4.4-2 " , "openssl-3.0.15-0 " ,
142
- "sqlite-3.45.1-0 " , "xz-5.4.6-0 " ]:
141
+ for name_ver in ["bzip2-1.0.8-2 " , "libffi-3.4.4-3 " , "openssl-3.0.15-4 " ,
142
+ "sqlite-3.45.3-3 " , "xz-5.4.6-1 " ]:
143
143
filename = f"{ name_ver } -{ host } .tar.gz"
144
144
download (f"{ deps_url } /{ name_ver } /{ filename } " )
145
145
run (["tar" , "-xf" , filename ])
@@ -189,12 +189,13 @@ def configure_host_python(context):
189
189
190
190
def make_host_python (context ):
191
191
# The CFLAGS and LDFLAGS set in android-env include the prefix dir, so
192
- # delete any previously-installed Python libs and include files to prevent
193
- # them being used during the build.
192
+ # delete any previous Python installation to prevent it being used during
193
+ # the build.
194
194
host_dir = subdir (context .host )
195
195
prefix_dir = host_dir / "prefix"
196
196
delete_glob (f"{ prefix_dir } /include/python*" )
197
197
delete_glob (f"{ prefix_dir } /lib/libpython*" )
198
+ delete_glob (f"{ prefix_dir } /lib/python*" )
198
199
199
200
os .chdir (host_dir / "build" )
200
201
run (["make" , "-j" , str (os .cpu_count ())], host = context .host )
0 commit comments