build.sh: Arreglar compilación estática
This commit is contained in:
parent
18b258d7d2
commit
6f7247952a
1 changed files with 1 additions and 1 deletions
2
build.sh
2
build.sh
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
GOOS=linux GOARCH=amd64 LDFLAGS="-linkmode external -extldflags '-static' $LDFLAGS" go build
|
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -ldflags '-extldflags "-static"' .
|
||||||
|
|
Loading…
Reference in a new issue