Restored _PYTHON_HOST_PLATFORM for Python 3.11

This commit is contained in:
Andrew Murray 2022-09-01 10:20:49 +10:00
parent a2cfd50022
commit 09dee863fe

View File

@ -123,8 +123,6 @@ function pip_wheel_cmd {
local abs_wheelhouse=$1
if [ -z "$IS_MACOS" ]; then
CFLAGS="$CFLAGS --std=c99" # for Raqm
elif [[ "$MB_PYTHON_VERSION" == "3.11" ]]; then
unset _PYTHON_HOST_PLATFORM
fi
pip wheel $(pip_opts) \
--global-option build_ext --global-option --enable-raqm \