From d255c52323c16cecaef0fc88bd7aeae7aaed79b3 Mon Sep 17 00:00:00 2001 From: Igor Chubin Date: Fri, 7 Feb 2025 10:45:07 +0000 Subject: [PATCH] Do not link srv statically --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index cbecb05..ace9724 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ srv: srv.go internal/*/*.go internal/*/*/*.go - go build -o srv -ldflags '-w -linkmode external -extldflags "-static"' ./ - #go build -o srv ./ + #go build -o srv -ldflags '-w -linkmode external -extldflags "-static"' ./ + go build -o srv ./ go-test: go test ./...