fix: cgo enabled windows

This commit is contained in:
2025-02-21 21:54:15 +07:00
parent e108c922d7
commit bf7037f4e8
7 changed files with 30 additions and 30 deletions

View File

@@ -21,7 +21,7 @@ tasks:
BUILD_FLAGS: '{{if eq .PRODUCTION "true"}}-tags production -trimpath -ldflags="-w -s -H windowsgui"{{else}}-gcflags=all="-l"{{end}}'
env:
GOOS: windows
CGO_ENABLED: 0
CGO_ENABLED: 1
GOARCH: '{{.ARCH | default ARCH}}'
PRODUCTION: '{{.PRODUCTION | default "false"}}'