We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e995c60 commit b17945fCopy full SHA for b17945f
1 file changed
build.sh
@@ -19,8 +19,8 @@ function buildstatic() {
19
local plugin_name=$4
20
21
echo "building static for $platform $arch"
22
- CGO_ENABLED=0 GOOS=$platform GOARCH=$arch go build -a -tags netgo \
23
- -ldflags "-w -extldflags \"-static\" -X main.Version=${version}" \
+ CGO_ENABLED=0 GOOS=$platform GOARCH=$arch go build -a \
+ -ldflags "-w -X main.Version=${version}" \
24
-o "${plugin_name}"
25
}
26
0 commit comments