mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-28 02:46:18 +03:00
Merge pull request #131 from radarhere/bzip2
Updated bzip2 to 1.0.8 for Linux
This commit is contained in:
commit
fe2ef79538
13
config.sh
13
config.sh
|
@ -14,6 +14,7 @@ TIFF_VERSION=4.1.0
|
|||
LCMS2_VERSION=2.9
|
||||
GIFLIB_VERSION=5.1.4
|
||||
LIBWEBP_VERSION=1.0.3
|
||||
BZIP2_VERSION=1.0.8
|
||||
|
||||
function pre_build {
|
||||
# Any stuff that you need to do before you start building the wheels
|
||||
|
@ -50,12 +51,18 @@ function pre_build {
|
|||
CPPFLAGS=$ORIGINAL_CPPFLAGS
|
||||
fi
|
||||
|
||||
# freetype
|
||||
freetype_args=""
|
||||
if [ -n "$IS_OSX" ]; then
|
||||
# Custom freetype build
|
||||
build_simple freetype $FREETYPE_VERSION https://download.savannah.gnu.org/releases/freetype tar.gz --with-harfbuzz=no
|
||||
freetype_args="--with-harfbuzz=no"
|
||||
else
|
||||
build_freetype
|
||||
# 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)
|
||||
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