From 6c1f29ba3a8a93c831e283aa559c052c9ad45da1 Mon Sep 17 00:00:00 2001 From: bjdgyc Date: Fri, 2 Feb 2024 18:59:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbuild=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index bfd0f68..093dc9d 100644 --- a/build.sh +++ b/build.sh @@ -36,7 +36,7 @@ ldflags="-s -w -extldflags '-static' -X main.appVer=$ver -X main.commitId=$(git #国内可替换源加快速度 export GOPROXY=https://goproxy.io go mod tidy -go build -o anylink "$flags" -ldflags "$ldflags" +go build -o anylink $flags -ldflags "$ldflags" cd $cpath