mk/golang: fix multiple tags
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
Jakub Sztandera committed
Feb 12, 2017 at 01:53 UTC
1a5c21cd0b89296b2eeef3df8246827072cffe64
1 file changed
+1
-1
mk/golang.mk
+1
-1
@@ -14,7 +14,7 @@ go-pkg-name=$(shell go list $(go-tags) ./$(1))
14
go-main-name=$(notdir $(call go-pkg-name,$(1)))$(?exe)
15
go-curr-pkg-tgt=$(d)/$(call go-main-name,$(d))
16
17
-go-tags=$(if $(GOTAGS), -tags $(call join-with,$(comma),$(GOTAGS)))
17
+go-tags=$(if $(GOTAGS), -tags="$(call join-with,$(space),$(GOTAGS))")
18
go-flags-with-tags=$(GOFLAGS)$(go-tags)
19
20
define go-build