build: enable cgo for `win/arm64` [skip ci]

pull/5605/head
Andy Hsu 2023-12-15 18:22:16 +08:00
parent 734d4b0354
commit 6d4ab57a0e
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ BuildWinArm64() {
export GOARCH=arm64
export CC=$(pwd)/wrapper/zcc-arm64
export CXX=$(pwd)/wrapper/zcxx-arm64
export CGO_ENABLED=1
go build -o "$1" -ldflags="$ldflags" -tags=jsoniter .
}