diff options
Diffstat (limited to 'script/build-libgit2.sh')
| -rwxr-xr-x | script/build-libgit2.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/script/build-libgit2.sh b/script/build-libgit2.sh new file mode 100755 index 0000000..8376a15 --- /dev/null +++ b/script/build-libgit2.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +set -ex + +git clone --depth 1 --single-branch git://github.com/libgit2/libgit2 libgit2 + +cd libgit2 +cmake -DTHREADSAFE=ON \ + -DBUILD_CLAR=OFF \ + -DCMAKE_INSTALL_PREFIX=$PWD/install \ + . + +make install |
