build-python: Add --with-pic to fix the native static libffi on x86_64

This fixes building python on x86_64 linux after
fabc4571b2.
This commit is contained in:
Martin Storsjö
2026-03-13 14:01:35 +02:00
parent 98dddfb9a4
commit c737c4a0b6
+1 -1
View File
@@ -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 ../..