diff options
| author | Carlos Martín Nieto <[email protected]> | 2014-06-07 15:38:32 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <[email protected]> | 2014-06-07 15:43:05 +0200 |
| commit | aabeb7f585da1cf966191886eab732db0020a41a (patch) | |
| tree | d414cc7e46aece422e47f9ec43ada6b4ba59dcab /script/build-libgit2-static.sh | |
| parent | 6862c2c82d89d30b0283d8a7e77851a802534daa (diff) | |
Really build statically
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 \ . |
