fix: CGO build issues on Windows and Go 1.15+
@@ -63,6 +63,8 @@ builds:
flags:
- -tags
- sqlite
+ # Remove once https://github.com/golang/go/issues/40795 is closed
+ - -buildmode=exe
ldflags:
- -s -w -X github.com/ory/hydra/cmd.Version={{.Tag}} -X github.com/ory/hydra/cmd.Commit={{.FullCommit}} -X github.com/ory/hydra/cmd.Date={{.Date}}
- "-extldflags '-static'"
