Skip to content

Commit 4ab30f4

Browse files
committed
Drop patch-apple-cross on 3.13+
1 parent 4e1ffb6 commit 4ab30f4

File tree

2 files changed

+2
-91
lines changed

2 files changed

+2
-91
lines changed

cpython-unix/build-cpython.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,8 @@ cat Makefile.extra
5959
pushd Python-${PYTHON_VERSION}
6060

6161
# configure doesn't support cross-compiling on Apple. Teach it.
62-
if [[ "${PYBUILD_PLATFORM}" = macos* ]]; then
63-
if [ -n "${PYTHON_MEETS_MINIMUM_VERSION_3_13}" ]; then
64-
patch -p1 -i ${ROOT}/patch-apple-cross-3.13.patch
65-
elif [ "${PYTHON_MAJMIN_VERSION}" = "3.12" ]; then
62+
if [[ "${PYBUILD_PLATFORM}" = macos* && -n "${PYTHON_MEETS_MAXIMUM_VERSION_3_13}" ]]; then
63+
if [ "${PYTHON_MAJMIN_VERSION}" = "3.12" ]; then
6664
patch -p1 -i ${ROOT}/patch-apple-cross-3.12.patch
6765
else
6866
patch -p1 -i ${ROOT}/patch-apple-cross.patch

cpython-unix/patch-apple-cross-3.13.patch

Lines changed: 0 additions & 87 deletions
This file was deleted.

0 commit comments

Comments
 (0)