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:
1 parent
98dddfb9a4
commit
c737c4a0b6
1 file changed
+1
-1
+1
-1
@@ -92,7 +92,7 @@ if [ -z "$HOST" ]; then
|
|||||||
[ -z "$CLEAN" ] || rm -rf $BUILDDIR
|
[ -z "$CLEAN" ] || rm -rf $BUILDDIR
|
||||||
mkdir -p $BUILDDIR
|
mkdir -p $BUILDDIR
|
||||||
cd $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 -j$CORES
|
||||||
$MAKE install
|
$MAKE install
|
||||||
cd ../..
|
cd ../..
|
||||||
|
|||||||
Reference in new issue
Block a user