Skip to content

Commit 7c803ee

Browse files
authored
ZLib download link update
1 parent 1ee36f8 commit 7c803ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python3-android/Android/build_deps.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ def make(self):
141141

142142
def build_package(pkg: Package):
143143
subprocess.check_call(['curl', '-fLO', pkg.source], cwd=BASE / 'deps')
144-
subprocess.check_call(['ls', '-ls'], cwd=BASE / 'deps')
145-
subprocess.check_call(['tar', '--no-same-owner', '-xf', 'zlib-1.2.12.tar'], cwd=BASE / 'deps')
144+
subprocess.check_call(['ls', '-a'], cwd=BASE / 'deps')
145+
subprocess.check_call(['tar', '--no-same-owner', '-xf', os.path.basename(pkg.source)], cwd=BASE / 'deps')
146146

147147
try:
148148
saved_env = os.environ.copy()

0 commit comments

Comments
 (0)