From c7d4993df5220921304af978c5d57e2cb51ef990 Mon Sep 17 00:00:00 2001 From: Troy Kessler Date: Tue, 24 Mar 2026 08:50:27 +0100 Subject: [PATCH] fix: ksync build --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index da15f64..b2370b3 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ GO_VERSION := $(shell go version | cut -c 14- | cut -d' ' -f1 | cut -d'.' -f1,2) ############################################################################### build: ensure_version - go build -mod=readonly -o ./build/ksync ./cmd/ksync/main.go + CGO_ENABLED=1 go build -mod=readonly -ldflags="-linkmode=external" -o ./build/ksync ./cmd/ksync/main.go ############################################################################### ### Tests ###