summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorRui Chen <rui@chenrui.dev>2023-02-10 15:49:15 +0100
committerRui Chen <rui@chenrui.dev>2023-02-10 15:49:15 +0100
commit121cc99584a9d99950c4037162c43b5f583a312d (patch)
tree7902e3c03d9e35fbcd66f49a17f94b161286bb6d /client
parent54ebec2f273e408f2a7be8a610b6b1bc34305a57 (diff)
build: fix ldflags for override `version`
Signed-off-by: Rui Chen <rui@chenrui.dev>
Diffstat (limited to 'client')
-rw-r--r--client/go/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/go/Makefile b/client/go/Makefile
index 4bdf461da98..b8ce953eff0 100644
--- a/client/go/Makefile
+++ b/client/go/Makefile
@@ -13,7 +13,7 @@ BIN ?= $(PREFIX)/bin
SHARE ?= $(PREFIX)/share
DIST ?= $(CURDIR)/dist
-GO_FLAGS := -ldflags "-X github.com/vespa-engine/vespa/client/go/build.Version=$(VERSION)"
+GO_FLAGS := -ldflags "-X github.com/vespa-engine/vespa/client/go/internal/cli/build.Version=$(VERSION)"
GIT_ROOT := $(shell git rev-parse --show-toplevel)
DIST_TARGETS := dist-mac dist-mac-arm64 dist-linux dist-linux-arm64 dist-win32 dist-win64