From dc5eb9cb80fbfa59ef11ff3cd8a8541b23a8ffd6 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Thu, 16 Oct 2025 17:20:58 +0200 Subject: [PATCH] Disable CGO for linux --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index f4446c3..c606009 100644 --- a/build.sh +++ b/build.sh @@ -1,2 +1,2 @@ -GOOS=windows GOARCH=amd64 go build -o cln.exe . -GOOS=linux GOARCH=amd64 go build -o cln . +CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o cln.exe . +CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o cln .