From 080760716b498a7e00f3a2ff1d3d6b0b6c3b3d11 Mon Sep 17 00:00:00 2001 From: Andrew Farries Date: Mon, 9 Dec 2024 14:09:01 +0000 Subject: [PATCH] Add static linking to the Windows build --- .goreleaser.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index a1c9f482..1981ed05 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -28,7 +28,7 @@ builds: goarch: amd64 env: - CC=x86_64-w64-mingw32-gcc - - CGO_LDFLAGS=-lssp + - CGO_LDFLAGS=-lssp -static - goos: linux goarch: amd64 env: