Skip to content

Commit 53e0634

Browse files
committed
Made jpg disable only occur with x86 build
1 parent f8eb278 commit 53e0634

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pythonforandroid/recipes/sdl2_image/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ def prebuild_arch(self, arch):
1414
info('SDL2_image already patched, skipping')
1515
return
1616
self.apply_patch('disable_webp.patch', arch.arch)
17-
self.apply_patch('disable_jpg.patch', arch.arch)
17+
if arch.arch == 'x86':
18+
self.apply_patch('disable_jpg.patch', arch.arch)
1819
shprint(sh.touch, join(build_dir, '.patched'))
1920

2021
recipe = LibSDL2Image()

0 commit comments

Comments
 (0)