Skip to content

Commit cf05a24

Browse files
committed
Update build-cpython.sh
1 parent fa7bc0c commit cf05a24

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docker/build_scripts/build-cpython.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ if [ "${AUDITWHEEL_POLICY}" == "manylinux2014" ] ; then
5050
export TCLTK_LIBS="-ltk8.6 -ltcl8.6"
5151
fi
5252

53-
if [ "${BASE_POLICY}_${AUDITWHEEL_ARCH}" == "musllinux_armv7l" ]; then
53+
if [ "${BASE_POLICY}_${AUDITWHEEL_ARCH}" == "manylinux_armv7l" ]; then
54+
CONFIGURE_ARGS="${CONFIGURE_ARGS} --build=armv7l-unknown-linux-gnueabihf"
55+
elif [ "${BASE_POLICY}_${AUDITWHEEL_ARCH}" == "musllinux_armv7l" ]; then
5456
CONFIGURE_ARGS="${CONFIGURE_ARGS} --build=arm-linux-musleabihf"
5557
fi
5658

@@ -71,6 +73,8 @@ if [ "${OPENSSL_PREFIX}" != "" ]; then
7173
esac
7274
fi
7375

76+
unset _PYTHON_HOST_PLATFORM
77+
7478
# configure with hardening options only for the interpreter & stdlib C extensions
7579
# do not change the default for user built extension (yet?)
7680
./configure \

0 commit comments

Comments
 (0)