Skip to content

Commit 3b43366

Browse files
committed
update syntax against go1.6
1 parent c85df3d commit 3b43366

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ PLUGIN_VERSION=git-$(shell git rev-parse --short=12 HEAD)
77

88
$(PLUGIN_EXE): plugin/main.go plugin/driver/*.go
99
go get -tags netgo ./$(@D)
10-
go build -ldflags "-extldflags \"-static\" -X main.version $(PLUGIN_VERSION)" -tags netgo -o $@ ./$(@D)
10+
go build -ldflags "-extldflags \"-static\" -X main.version=$(PLUGIN_VERSION)" -tags netgo -o $@ ./$(@D)
1111
@strings $@ | grep cgo_stub\\\.go >/dev/null || { \
1212
rm $@; \
1313
echo "\nGo standard library is built without the 'netgo' build tag."; \

0 commit comments

Comments
 (0)