mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-04-13 15:47:17 +03:00
Makefile: Fix binary ldflags missing
This commit is contained in:
parent
5af617f3b9
commit
d8e68d57bc
2
Makefile
2
Makefile
@ -9,7 +9,7 @@ LDFLAGS = -X main.Version=$(VERSION) -extldflags "-static"
|
|||||||
all: $(BINARY)
|
all: $(BINARY)
|
||||||
|
|
||||||
$(BINARY): **/**/*.go **/*.go *.go
|
$(BINARY): **/**/*.go **/*.go *.go
|
||||||
go build $(BUILDFLAGS) ./cmd/ssh-chat
|
go build -ldflags "$(LDFLAGS)" ./cmd/ssh-chat
|
||||||
|
|
||||||
build: $(BINARY)
|
build: $(BINARY)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user