Skip to content

Commit 1e72955

Browse files
committed
[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
1 parent 26dfac2 commit 1e72955

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pythonforandroid/recipes/freetype/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ def build_arch(self, arch, with_harfbuzz=False):
7676
'--host={}'.format(arch.command_prefix),
7777
'--prefix={}'.format(prefix_path),
7878
'--without-zlib',
79+
'--without-bzip2',
7980
'--with-png=no',
8081
}
8182
if not harfbuzz_in_recipes:

0 commit comments

Comments
 (0)