diff options
| author | Carlos Martín Nieto <[email protected]> | 2014-06-07 19:00:05 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <[email protected]> | 2014-06-07 19:12:33 +0200 |
| commit | a2b14b5be4bf70650f6ec4a7a1ebab7c0a993c81 (patch) | |
| tree | a72c1fb13425f465405927270a1797005a2e699b /script/build-libgit2-static.sh | |
| parent | 12a3a1e05c03fdc9767ef62e5ff9e0d677946525 (diff) | |
Tighten up the build
Build as release, and there is no need to install the library, we know
where the files are.
Diffstat (limited to 'script/build-libgit2-static.sh')
| -rwxr-xr-x | script/build-libgit2-static.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/script/build-libgit2-static.sh b/script/build-libgit2-static.sh index ca5390d..b4d4241 100755 --- a/script/build-libgit2-static.sh +++ b/script/build-libgit2-static.sh @@ -4,13 +4,15 @@ set -ex VENDORED_PATH=vendor/libgit2 -cd $VENDORED_PATH - +cd $VENDORED_PATH && +mkdir -p build && +cd build && cmake -DTHREADSAFE=ON \ -DBUILD_CLAR=OFF \ -DBUILD_SHARED_LIBS=OFF \ -DCMAKE_C_FLAGS=-fPIC \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ -DCMAKE_INSTALL_PREFIX=../install \ - . + .. && -make install +cmake --build . |
