summaryrefslogtreecommitdiff
path: root/git_static.go
diff options
context:
space:
mode:
authorlhchavez <[email protected]>2019-01-08 02:51:21 +0000
committerlhchavez <[email protected]>2019-01-08 02:51:21 +0000
commit6d67bde74a667dcdd060ef519832e8fd81064a8e (patch)
tree705e564b9dedf0ceced47e6f01012cb9fcb6322f /git_static.go
parent35518c78df9ae727651212512bfaa1a8dae02585 (diff)
parent2609f4c6f25a7da56e2e4960c250ea3dfb53e82b (diff)
Merge remote-tracking branch 'upstream/master' into repository-create_commit_from_ids
Diffstat (limited to 'git_static.go')
-rw-r--r--git_static.go7
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