From b96e76cd328ad98461791f42d3a8c391897e4c3c Mon Sep 17 00:00:00 2001 From: Andrew Farries Date: Mon, 9 Dec 2024 11:47:59 +0000 Subject: [PATCH] Add static linking to the Windows build --- .goreleaser.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index a1c9f482..31b62359 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -28,6 +28,7 @@ builds: goarch: amd64 env: - CC=x86_64-w64-mingw32-gcc + - CGO_CFLAGS=-static - CGO_LDFLAGS=-lssp - goos: linux goarch: amd64