diff options
| author | Carlos MartÃn Nieto <[email protected]> | 2016-11-13 19:31:57 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2016-11-13 19:31:57 +0100 |
| commit | 4eecbd8d447b48ca29d4e9e782cbe0451535893e (patch) | |
| tree | 6c4d504cf3814ea88dd3e16f2d8b2b121e66325e /script/with-static.sh | |
| parent | 9af9dd3ad71055e60ff7af6ffd5da42960915996 (diff) | |
| parent | 7f426f2435087a35155b4e8b859fb52f09f79a72 (diff) | |
Merge pull request #338 from libgit2/cmn/variable-subst
Use variable substitution instead of a wrapper script
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" - -$@ |
