Skip to content

Commit 445dc69

Browse files
committed
Update match for 3.13+
1 parent 5ba95ac commit 445dc69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpython-unix/build-cpython.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@ s390x-unknown-linux-gnu)
980980
x86_64-unknown-linux-*)
981981
# In Python 3.13+, the musl target is identified in cross compiles and the output directory
982982
# is named accordingly.
983-
if [ "${CC}" = "musl-clang" ] && [ "${PYTHON_MAJMIN_VERSION}" = "3.13" ]; then
983+
if [[ "${CC}" = "musl-clang" && -n "${PYTHON_MEETS_MINIMUM_VERSION_3_13}" ]]; then
984984
PYTHON_ARCH="x86_64-linux-musl"
985985
else
986986
PYTHON_ARCH="x86_64-linux-gnu"

0 commit comments

Comments
 (0)