fix the "version `GLIBC_2.32' not found" problem

v4
suxb201 2 years ago
parent 865937d3b3
commit 25876aaf43
  1. 1
      build.sh

@ -17,6 +17,7 @@ dist() {
echo "try build GOOS=$1 GOARCH=$2"
export GOOS=$g
export GOARCH=$a
export CGO_ENABLED=0
go build -v -trimpath -o "$BIN_DIR/redis-shake" "./cmd/redis-shake"
unset GOOS
unset GOARCH

Loading…
Cancel
Save