fix buldled static build on Windows/MinGW

This commit is contained in:
Vladimir Buzuev 2021-04-03 17:35:14 -07:00
parent aeb22bcf7d
commit 0a843804b6
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ package git
/*
#cgo windows CFLAGS: -I${SRCDIR}/static-build/install/include/
#cgo windows LDFLAGS: -L${SRCDIR}/static-build/install/lib/ -lgit2 -lwinhttp
#cgo windows LDFLAGS: -L${SRCDIR}/static-build/install/lib/ -lgit2 -lwinhttp -lws2_32 -lole32 -lrpcrt4 -lcrypt32
#cgo !windows pkg-config: --static ${SRCDIR}/static-build/install/lib/pkgconfig/libgit2.pc
#cgo CFLAGS: -DLIBGIT2_STATIC
#include <git2.h>