From aabeb7f585da1cf966191886eab732db0020a41a Mon Sep 17 00:00:00 2001 From: Carlos Martín Nieto Date: Sat, 7 Jun 2014 15:38:32 +0200 Subject: Really build statically --- script/build-libgit2-static.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'script/build-libgit2-static.sh') 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 \ . -- cgit v1.2.3