From 8c881a78660b12879b6475fc186738b1ee627074 Mon Sep 17 00:00:00 2001 From: vadym Date: Sun, 12 Sep 2021 17:16:36 +0300 Subject: [PATCH] fixed compiler options --- contrib/msi/build-msi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/msi/build-msi.sh b/contrib/msi/build-msi.sh index 8b42f549..0b92175c 100755 --- a/contrib/msi/build-msi.sh +++ b/contrib/msi/build-msi.sh @@ -48,7 +48,7 @@ then fi # Build Mesh! -[ "${PKGARCH}" == "x64" ] && GOOS=windows GOARCH=amd64 CGO_ENABLED=0 ./build +[ "${PKGARCH}" == "x64" ] && GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ ./build [ "${PKGARCH}" == "x86" ] && GOOS=windows GOARCH=386 CGO_ENABLED=0 ./build [ "${PKGARCH}" == "arm" ] && GOOS=windows GOARCH=arm CGO_ENABLED=0 ./build #[ "${PKGARCH}" == "arm64" ] && GOOS=windows GOARCH=arm64 CGO_ENABLED=0 ./build