mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
Removed customisation of bzip2 build
This commit is contained in:
parent
df0b6771c6
commit
e3a867d9d3
12
config.sh
12
config.sh
|
@ -51,18 +51,12 @@ function pre_build {
|
|||
CPPFLAGS=$ORIGINAL_CPPFLAGS
|
||||
fi
|
||||
|
||||
# freetype
|
||||
freetype_args=""
|
||||
if [ -n "$IS_OSX" ]; then
|
||||
freetype_args="--with-harfbuzz=no"
|
||||
# Custom freetype build
|
||||
build_simple freetype $FREETYPE_VERSION https://download.savannah.gnu.org/releases/freetype tar.gz --with-harfbuzz=no
|
||||
else
|
||||
# bzip2
|
||||
fetch_unpack https://sourceware.org/pub/bzip2/bzip2-${BZIP2_VERSION}.tar.gz
|
||||
(cd bzip2-${BZIP2_VERSION} \
|
||||
&& make -f Makefile-libbz2_so \
|
||||
&& make install PREFIX=$BUILD_PREFIX)
|
||||
build_freetype
|
||||
fi
|
||||
build_simple freetype $FREETYPE_VERSION https://download.savannah.gnu.org/releases/freetype tar.gz $freetype_args
|
||||
}
|
||||
|
||||
function run_tests_in_repo {
|
||||
|
|
Loading…
Reference in New Issue
Block a user