Build zlib on Linux as well

This commit is contained in:
Andrew Murray 2021-06-16 21:27:59 +10:00
parent fd81da7e32
commit ce07009282

View File

@ -45,10 +45,8 @@ function pre_build {
# Runs in the root directory of this repository. # Runs in the root directory of this repository.
curl -fsSL -o pillow-depends-master.zip https://github.com/python-pillow/pillow-depends/archive/master.zip curl -fsSL -o pillow-depends-master.zip https://github.com/python-pillow/pillow-depends/archive/master.zip
untar pillow-depends-master.zip untar pillow-depends-master.zip
if [ -n "$IS_MACOS" ]; then
# Update to latest zlib for macOS build
build_new_zlib build_new_zlib
fi
if [ -n "$IS_MACOS" ]; then if [ -n "$IS_MACOS" ]; then
ORIGINAL_BUILD_PREFIX=$BUILD_PREFIX ORIGINAL_BUILD_PREFIX=$BUILD_PREFIX