diff --git a/auth_server/Makefile b/auth_server/Makefile index 483ee52d..120d1a89 100644 --- a/auth_server/Makefile +++ b/auth_server/Makefile @@ -8,7 +8,7 @@ BUILD_ID ?= $(shell go run ./gen_version.go | awk '{print $$2}') all: build build: - go build -v -ldflags="-X 'main.Version=${VERSION}' -X 'main.BuildID=${BUILD_ID}'" + go build -v -ldflags="-extldflags '-static' -X 'main.Version=${VERSION}' -X 'main.BuildID=${BUILD_ID}'" auth_server: @echo