We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c85df3d commit 3b43366Copy full SHA for 3b43366
1 file changed
Makefile
@@ -7,7 +7,7 @@ PLUGIN_VERSION=git-$(shell git rev-parse --short=12 HEAD)
7
8
$(PLUGIN_EXE): plugin/main.go plugin/driver/*.go
9
go get -tags netgo ./$(@D)
10
- go build -ldflags "-extldflags \"-static\" -X main.version $(PLUGIN_VERSION)" -tags netgo -o $@ ./$(@D)
+ go build -ldflags "-extldflags \"-static\" -X main.version=$(PLUGIN_VERSION)" -tags netgo -o $@ ./$(@D)
11
@strings $@ | grep cgo_stub\\\.go >/dev/null || { \
12
rm $@; \
13
echo "\nGo standard library is built without the 'netgo' build tag."; \
0 commit comments