From: Victor Morales Date: Wed, 30 Jan 2019 17:31:15 +0000 (-0800) Subject: Add net tag to Makefile X-Git-Tag: 0.1.0~68 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F16%2F77616%2F1;p=multicloud%2Fk8s.git 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 --- 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