diff options
| author | Carlos Martín Nieto <[email protected]> | 2015-03-15 01:21:26 +0100 |
|---|---|---|
| committer | Carlos Martín Nieto <[email protected]> | 2015-03-15 01:22:58 +0100 |
| commit | a2878cf7b2fc94255c92253420f5df41a42b47db (patch) | |
| tree | c328d87fc6eb931b8ae20b0a73805bfd2f9b4e55 /script | |
| parent | 1b44c0a2343cc87cb32513ef4625c590c8ecbe8e (diff) | |
| parent | 137c4fc3c838a803dddeb2855e726fc30713fdea (diff) | |
Merge branch 'v22'
Diffstat (limited to 'script')
| -rwxr-xr-x | script/build-libgit2-static.sh | 19 | ||||
| -rwxr-xr-x | script/with-static.sh | 12 |
2 files changed, 0 insertions, 31 deletions
diff --git a/script/build-libgit2-static.sh b/script/build-libgit2-static.sh deleted file mode 100755 index 5723721..0000000 --- a/script/build-libgit2-static.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -set -ex - -VENDORED_PATH=vendor/libgit2 - -cd $VENDORED_PATH && -mkdir -p install/lib && -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 \ - .. && - -cmake --build . diff --git a/script/with-static.sh b/script/with-static.sh deleted file mode 100755 index 3f60e31..0000000 --- a/script/with-static.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -set -ex - -export BUILD="$PWD/vendor/libgit2/build" -export PCFILE="$BUILD/libgit2.pc" - -FLAGS=$(pkg-config --static --libs $PCFILE) || exit 1 -export CGO_LDFLAGS="$BUILD/libgit2.a -L$BUILD ${FLAGS}" -export CGO_CFLAGS="-I$PWD/vendor/libgit2/include" - -$@ |
