Link statically

chubin/logging
Igor Chubin 2 years ago
parent 302b00ee7d
commit 54b5bfc64d

@ -1,5 +1,5 @@
srv: srv.go internal/*/*.go internal/*/*/*.go srv: srv.go internal/*/*.go internal/*/*/*.go
go build -o srv ./ go build -o srv -ldflags '-w -linkmode external -extldflags "-static"' ./
go-test: go-test:
go test ./... go test ./...

Loading…
Cancel
Save