From d53b95760be6a17d5b14de550eb638f4a1c095d5 Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Wed, 30 Jan 2019 09:31:15 -0800 Subject: Add net tag to Makefile The change that removes duplicate plugins make actions I0efecdcb70052b4c0d66102c56e0c715481cb34a didn't consider the flag for net module which it's needed during the runtime. Change-Id: I534c38d017fcc08294e8ca52cc936dea117914e3 Signed-off-by: Victor Morales Issue-ID: MULTICLOUD-301 --- src/k8splugin/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/k8splugin/Makefile b/src/k8splugin/Makefile index 635c9155..afb83d66 100644 --- a/src/k8splugin/Makefile +++ b/src/k8splugin/Makefile @@ -43,7 +43,7 @@ format: @go fmt ./... plugins: - @find plugins -maxdepth 1 -type d -not -path plugins -exec sh -c "ls {}/plugin.go | xargs go build -buildmode=plugin -o $(basename {}).so" \; + @find plugins -maxdepth 1 -type d -not -path plugins -exec sh -c "ls {}/plugin.go | xargs go build -buildmode=plugin -a -tags netgo -o $(basename {}).so" \; clean: @find . -name "*so" -delete -- cgit 1.2.3-korg