build.sh: Arreglar compilación estática

This commit is contained in:
Cat /dev/Nulo 2022-09-09 21:54:39 -03:00
parent 18b258d7d2
commit 6f7247952a

View file

@ -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"' .