mirror of
https://github.com/AlistGo/alist.git
synced 2025-11-25 11:29:45 +08:00
build: enable cgo for win/arm64 [skip ci]
This commit is contained in:
1
build.sh
1
build.sh
@@ -49,6 +49,7 @@ BuildWinArm64() {
|
|||||||
export GOARCH=arm64
|
export GOARCH=arm64
|
||||||
export CC=$(pwd)/wrapper/zcc-arm64
|
export CC=$(pwd)/wrapper/zcc-arm64
|
||||||
export CXX=$(pwd)/wrapper/zcxx-arm64
|
export CXX=$(pwd)/wrapper/zcxx-arm64
|
||||||
|
export CGO_ENABLED=1
|
||||||
go build -o "$1" -ldflags="$ldflags" -tags=jsoniter .
|
go build -o "$1" -ldflags="$ldflags" -tags=jsoniter .
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user