Skip to content

Commit c994176

Browse files
committed
Make sure we force PIC.
1 parent 7ca079d commit c994176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ set -x
2828
# the python build process ends up running a find -delete that
2929
# happens to also delete all the static libraries that we built.
3030
export "PREFIX=$(pwd)/../Nuitka-Python-Deps"
31-
export "CFLAGS=-I${PREFIX}/include"
31+
export "CFLAGS=-I${PREFIX}/include -fPIC"
3232
export "LDFLAGS=-L${PREFIX}/lib"
3333
export "PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig"
3434

0 commit comments

Comments
 (0)