diff options
| author | lhchavez <[email protected]> | 2019-01-08 02:01:44 +0000 |
|---|---|---|
| committer | lhchavez <[email protected]> | 2019-01-08 02:01:44 +0000 |
| commit | b609c04b681655f474b13798f6c74658295fa3a4 (patch) | |
| tree | 5373c4bc84d15ea28226103c11fd293dcdec7396 /git_static.go | |
| parent | d7fd15b1e0fda55c7237609bbdc8caddff49d032 (diff) | |
| parent | 2609f4c6f25a7da56e2e4960c250ea3dfb53e82b (diff) | |
Merge remote-tracking branch 'upstream/master' into mempack
Diffstat (limited to 'git_static.go')
| -rw-r--r-- | git_static.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/git_static.go b/git_static.go index 6303734..547ae8a 100644 --- a/git_static.go +++ b/git_static.go @@ -3,10 +3,9 @@ package git /* -#cgo CFLAGS: -I${SRCDIR}/vendor/libgit2/include -#cgo LDFLAGS: -L${SRCDIR}/vendor/libgit2/build/ -lgit2 -#cgo windows LDFLAGS: -lwinhttp -#cgo !windows pkg-config: --static ${SRCDIR}/vendor/libgit2/build/libgit2.pc +#cgo windows CFLAGS: -I${SRCDIR}/static-build/install/include/ +#cgo windows LDFLAGS: -L${SRCDIR}/static-build/install/lib/ -lgit2 -lwinhttp +#cgo !windows pkg-config: --static ${SRCDIR}/static-build/install/lib/pkgconfig/libgit2.pc #include <git2.h> #if LIBGIT2_VER_MAJOR != 0 || LIBGIT2_VER_MINOR != 27 |
