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 /git.go | |
| 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 'git.go')
| -rw-r--r-- | git.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,6 +1,10 @@ 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 #include <git2.h> #include <git2/sys/openssl.h> |
