From c9941765750ff43dd62d2042dc9d94203b0ebdd5 Mon Sep 17 00:00:00 2001 From: Maxwell Dreytser Date: Tue, 23 Jan 2024 02:30:03 -0500 Subject: [PATCH] Make sure we force PIC. --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 3d58e2a978c1cf..973e159039c821 100755 --- a/build.sh +++ b/build.sh @@ -28,7 +28,7 @@ set -x # the python build process ends up running a find -delete that # happens to also delete all the static libraries that we built. export "PREFIX=$(pwd)/../Nuitka-Python-Deps" -export "CFLAGS=-I${PREFIX}/include" +export "CFLAGS=-I${PREFIX}/include -fPIC" export "LDFLAGS=-L${PREFIX}/lib" export "PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig"