Skip to content

Commit

Permalink
Make sure we force PIC.
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxwell175 committed Jan 23, 2024
1 parent 7ca079d commit c994176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit c994176

Please sign in to comment.