diff --git a/recipes-devtools/yq/yq_git.bb b/recipes-devtools/yq/yq_git.bb index 45f2f970..bd474a79 100644 --- a/recipes-devtools/yq/yq_git.bb +++ b/recipes-devtools/yq/yq_git.bb @@ -50,7 +50,7 @@ GO_IMPORT = "github.com/mikefarah/yq" inherit go ptest -do_compile:prepend() { +do_compile() { # arrange for some of the golang built ins to be found ( cd ${WORKDIR}/build/src/ @@ -60,6 +60,7 @@ do_compile:prepend() { # arrange for the fetched dependencies to be found export GOPATH="${GOPATH}:${WORKDIR}/build/vendor/" export GO111MODULE=off + ${GO} install ${GOBUILDFLAGS} `go_list_packages` } do_install:append() {