Merge pull request #225 from radarhere/zlib_auditwheel

This commit is contained in:
Hugo van Kemenade 2021-10-11 15:27:46 +03:00 committed by GitHub
commit 464d0b1174
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,6 +25,9 @@ function pre_build {
untar pillow-depends-master.zip untar pillow-depends-master.zip
build_xz build_xz
if [ -z "$IS_MACOS" ]; then
yum remove -y zlib-devel
fi
build_new_zlib build_new_zlib
if [ -n "$IS_MACOS" ]; then if [ -n "$IS_MACOS" ]; then
@ -95,6 +98,10 @@ function pre_build {
} }
function pip_wheel_cmd { function pip_wheel_cmd {
if [ -z "$IS_MACOS" ]; then
pipx install --force "auditwheel<5"
fi
local abs_wheelhouse=$1 local abs_wheelhouse=$1
if [ -z "$IS_MACOS" ]; then if [ -z "$IS_MACOS" ]; then
CFLAGS="$CFLAGS --std=c99" # for Raqm CFLAGS="$CFLAGS --std=c99" # for Raqm