From 1e72955db10df62e7f45e6722dc5a8041c0158bd Mon Sep 17 00:00:00 2001 From: opacam Date: Mon, 10 Jun 2019 18:16:17 +0200 Subject: [PATCH] [bug] Add `--without-bzip2` to freetype's configure args To fix freetype build for `openSUSE` and maybe other oses. Note: It seems that there is a bug in `bzip2-devel` for debian and derivatives which are distributed without a `pkg-config` file, so when we compile freetype with a debian os (or derivative) we build it without bzip2 support, so we enforce to disable bzip2 support, because we know that freetype works fine without bzip2 support Resolves: #1854 --- pythonforandroid/recipes/freetype/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pythonforandroid/recipes/freetype/__init__.py b/pythonforandroid/recipes/freetype/__init__.py index dd8babe51..bea70cdaf 100644 --- a/pythonforandroid/recipes/freetype/__init__.py +++ b/pythonforandroid/recipes/freetype/__init__.py @@ -76,6 +76,7 @@ def build_arch(self, arch, with_harfbuzz=False): '--host={}'.format(arch.command_prefix), '--prefix={}'.format(prefix_path), '--without-zlib', + '--without-bzip2', '--with-png=no', } if not harfbuzz_in_recipes: