Update buildscript and readme

This commit is contained in:
2025-01-19 22:50:50 +01:00
parent 49663c9094
commit 06913a5217
2 changed files with 45 additions and 17 deletions

View File

@ -6,12 +6,7 @@ build() {
local arch=$2
local output=$3
# Set CGO flags for static linking
export CGO_ENABLED=1
export GOOS=$os
export GOARCH=$arch
# Platform specific flags
if [ "$os" = "windows" ]; then
export CC=x86_64-w64-mingw32-gcc
export CXX=x86_64-w64-mingw32-g++