From d8e68d57bc3189133b6931a9fe93270223f570b8 Mon Sep 17 00:00:00 2001 From: Andrey Petrov Date: Mon, 6 Jan 2020 20:14:32 -0500 Subject: [PATCH] Makefile: Fix binary ldflags missing --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 08dba4b..10d208e 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ LDFLAGS = -X main.Version=$(VERSION) -extldflags "-static" all: $(BINARY) $(BINARY): **/**/*.go **/*.go *.go - go build $(BUILDFLAGS) ./cmd/ssh-chat + go build -ldflags "$(LDFLAGS)" ./cmd/ssh-chat build: $(BINARY)