From c737c4a0b64dcf3e443989eed24b9e4b89497fdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Fri, 13 Mar 2026 14:01:35 +0200 Subject: [PATCH] build-python: Add --with-pic to fix the native static libffi on x86_64 This fixes building python on x86_64 linux after fabc4571b25251d5200e03ce45cd5ee302a44533. --- build-python.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-python.sh b/build-python.sh index fee1bb4..9c2afdc 100755 --- a/build-python.sh +++ b/build-python.sh @@ -92,7 +92,7 @@ if [ -z "$HOST" ]; then [ -z "$CLEAN" ] || rm -rf $BUILDDIR mkdir -p $BUILDDIR cd $BUILDDIR - ../configure --prefix="$PREFIX" --disable-symvers --disable-docs --disable-shared + ../configure --prefix="$PREFIX" --disable-symvers --disable-docs --disable-shared --with-pic $MAKE -j$CORES $MAKE install cd ../..