diff options
Diffstat (limited to 'script/build-libgit2-static.sh')
| -rwxr-xr-x | script/build-libgit2-static.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script/build-libgit2-static.sh b/script/build-libgit2-static.sh index e486d1d..ca5390d 100755 --- a/script/build-libgit2-static.sh +++ b/script/build-libgit2-static.sh @@ -9,6 +9,7 @@ cd $VENDORED_PATH cmake -DTHREADSAFE=ON \ -DBUILD_CLAR=OFF \ -DBUILD_SHARED_LIBS=OFF \ + -DCMAKE_C_FLAGS=-fPIC \ -DCMAKE_INSTALL_PREFIX=../install \ . |
