libgit2 / git2go

Git to Go; bindings for libgit2. Like McDonald's but tastier.
MIT License
1.92k stars 316 forks source link

build fail undefined: xxxx ... #930

Closed baerwang closed 1 year ago

baerwang commented 1 year ago
 CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags "-s -w" -tags static,system_libgit2 -trimpath -o git.exe
image
baerwang commented 1 year ago

https://github.com/libgit2/git2go/issues/689#issuecomment-733733359