Skip to content

Commit 4a3d368

Browse files
committed
Only apply PYTHON_ARCH change on 3.13
1 parent 3a69e62 commit 4a3d368

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
@@ -758,7 +758,7 @@ s390x-unknown-linux-gnu)
758758
PYTHON_ARCH="s390x-linux-gnu"
759759
;;
760760
x86_64-unknown-linux-*)
761-
if [ "${CC}" = "musl-clang" ]; then
761+
if [ "${CC}" = "musl-clang" ] && [ "${PYTHON_MAJMIN_VERSION}" = "3.13" ]; then
762762
PYTHON_ARCH="x86_64-linux-musl"
763763
else
764764
PYTHON_ARCH="x86_64-linux-gnu"

0 commit comments

Comments
 (0)