diff --git a/package/pkg-golang.mk b/package/pkg-golang.mk index f23bda390d..bf178622b5 100644 --- a/package/pkg-golang.mk +++ b/package/pkg-golang.mk @@ -27,6 +27,7 @@ GO_BIN = $(HOST_DIR)/bin/go # cross-compiled binaries when GOBIN is set" GO_TARGET_ENV = \ $(HOST_GO_TARGET_ENV) \ + PATH=$(BR_PATH) \ GOBIN= \ CGO_ENABLED=$(HOST_GO_CGO_ENABLED)