diff options
| author | Carlos MartÃn Nieto <[email protected]> | 2017-01-20 22:55:25 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-01-20 22:55:25 +0000 |
| commit | 4a14260153072e1e0d8e32d9270b30e3acca7c80 (patch) | |
| tree | 112c3a1f75c2fcc8d3e88f1d0c6687de179e3ac3 /script/with-static.sh | |
| parent | b8a9efd21f5ea094976ff2c53c4aec1cf6014876 (diff) | |
| parent | b020c1140a2cb8be18141498a6cab5440409dc24 (diff) | |
Merge pull request #362 from libgit2/cmn/master-tip-static
Update master to latest libgit2 and build statically
Diffstat (limited to 'script/with-static.sh')
| -rwxr-xr-x | script/with-static.sh | 12 |
1 files changed, 0 insertions, 12 deletions
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" - -$@ |
