Skip to content

Commit

Permalink
[bug] Add --without-bzip2 to freetype's configure args
Browse files Browse the repository at this point in the history
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: kivy#1854
  • Loading branch information
opacam committed Jun 10, 2019
1 parent efc6d9b commit b9783b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pythonforandroid/recipes/freetype/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b9783b2

Please sign in to comment.