Skip to content

Commit d2b7e15

Browse files
committed
Statically link the python executable to libpython and disable the shared library
1 parent aa430e2 commit d2b7e15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpython-unix/build-cpython.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,8 @@ if [ "${CC}" = "musl-clang" ]; then
401401
cp "$h" /tools/host/include/
402402
done
403403
else
404-
CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --enable-shared"
405-
PYBUILD_SHARED=1
404+
CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --enable-shared=no"
405+
PYBUILD_SHARED=0
406406
fi
407407

408408
if [ -n "${CPYTHON_DEBUG}" ]; then

0 commit comments

Comments
 (0)