From 7166b54a30e3482d245a0f494867967c03d1e9fe Mon Sep 17 00:00:00 2001 From: atavism Date: Thu, 30 Nov 2023 00:01:17 -0800 Subject: [PATCH] Update desktop release workflow --- .github/workflows/build-windows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index e8429ae50..445216e73 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -97,7 +97,7 @@ jobs: - name: Build Go shared library run: | - GOOS=windows GOARCH=amd64 go build -buildmode=c-shared -o desktop/liblantern.dylib desktop/lib.go + CGO_ENABLED=1 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ GOOS=windows GOARCH=386 go build -buildmode=c-shared -o desktop/liblantern.dylib desktop/lib.go - uses: actions/upload-artifact@v3 with: