mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-29 11:26:17 +03:00
Removed customisation of bzip2 build (#139)
Removed customisation of bzip2 build
This commit is contained in:
commit
1a08f4f083
12
config.sh
12
config.sh
|
@ -51,18 +51,12 @@ function pre_build {
|
||||||
CPPFLAGS=$ORIGINAL_CPPFLAGS
|
CPPFLAGS=$ORIGINAL_CPPFLAGS
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# freetype
|
|
||||||
freetype_args=""
|
|
||||||
if [ -n "$IS_OSX" ]; then
|
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
|
else
|
||||||
# bzip2
|
build_freetype
|
||||||
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)
|
|
||||||
fi
|
fi
|
||||||
build_simple freetype $FREETYPE_VERSION https://download.savannah.gnu.org/releases/freetype tar.gz $freetype_args
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function run_tests_in_repo {
|
function run_tests_in_repo {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user