Skip to content

Commit

Permalink
build: enable cgo for win/arm64 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe committed Dec 15, 2023
1 parent 734d4b0 commit 6d4ab57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
}

Expand Down

0 comments on commit 6d4ab57

Please sign in to comment.