summaryrefslogtreecommitdiff
path: root/script/build-libgit2-static.sh
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2014-06-07 15:38:32 +0200
committerCarlos Martín Nieto <[email protected]>2014-06-07 15:43:05 +0200
commitaabeb7f585da1cf966191886eab732db0020a41a (patch)
treed414cc7e46aece422e47f9ec43ada6b4ba59dcab /script/build-libgit2-static.sh
parent6862c2c82d89d30b0283d8a7e77851a802534daa (diff)
Really build statically
Diffstat (limited to 'script/build-libgit2-static.sh')
-rwxr-xr-xscript/build-libgit2-static.sh1
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 \
.