File tree Expand file tree Collapse file tree 2 files changed +3
-28
lines changed Expand file tree Collapse file tree 2 files changed +3
-28
lines changed Original file line number Diff line number Diff line change @@ -85,12 +85,7 @@ if [ -n "${CROSS_COMPILING}" ]; then
8585 fi
8686fi
8787
88- # This patch is slightly different on Python 3.10+.
89- if [ -n " ${PYTHON_MEETS_MINIMUM_VERSION_3_10} " ]; then
90- patch -p1 -i ${ROOT} /patch-xopen-source-ios.patch
91- else
92- patch -p1 -i ${ROOT} /patch-xopen-source-ios-legacy.patch
93- fi
88+ patch -p1 -i ${ROOT} /patch-xopen-source-ios.patch
9489
9590# LIBTOOL_CRUFT is unused and breaks cross-compiling on macOS. Nuke it.
9691# Submitted upstream at https://github.com/python/cpython/pull/101048.
341336# Always build against libedit instead of the default of readline.
342337# macOS always uses the system libedit, so no tweaks are needed.
343338if [[ " ${PYBUILD_PLATFORM} " != macos* ]]; then
344- # CPython 3.10 introduced proper configure support for libedit, so add configure
345- # flag there.
346- if [ -n " ${PYTHON_MEETS_MINIMUM_VERSION_3_10} " ]; then
347- EXTRA_CONFIGURE_FLAGS=" ${EXTRA_CONFIGURE_FLAGS} --with-readline=editline"
348- fi
339+ # Add configure flag for proper configure support for libedit.
340+ EXTRA_CONFIGURE_FLAGS=" ${EXTRA_CONFIGURE_FLAGS} --with-readline=editline"
349341fi
350342
351343# On Python 3.14+, enable the tail calling interpreter which is more performant.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments