File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -59,11 +59,11 @@ cat Makefile.extra
5959pushd 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
65+ elif [ " ${PYTHON_MAJMIN_VERSION} " = " 3.13" ]; then
66+ patch -p1 -i ${ROOT} /patch-apple-cross-3.13.patch
6767 else
6868 patch -p1 -i ${ROOT} /patch-apple-cross.patch
6969 fi
You can’t perform that action at this time.
0 commit comments