diff --git a/cpython-unix/build-cpython-host.sh b/cpython-unix/build-cpython-host.sh index 459558bb..9093304c 100755 --- a/cpython-unix/build-cpython-host.sh +++ b/cpython-unix/build-cpython-host.sh @@ -45,6 +45,11 @@ if [ "${CC}" = "clang" ]; then else patch -p1 -i ${ROOT}/patch-disable-multiarch-legacy.patch fi +else + # This appears to also be a problem for musl builds on 3.13. + if [ -n "${PYTHON_MEETS_MINIMUM_VERSION_3_13}" ]; then + patch -p1 -i ${ROOT}/patch-disable-multiarch-13.patch + fi fi autoconf