From 41278f722d17a737a37f1583357a92888919930d Mon Sep 17 00:00:00 2001
From: bjdgyc <bjdgyc@163.com>
Date: Mon, 29 Jan 2024 00:25:18 +0800
Subject: [PATCH] Update build.sh

---
 build.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build.sh b/build.sh
index 5a8e310..55bd8d0 100644
--- a/build.sh
+++ b/build.sh
@@ -37,8 +37,8 @@ cd $cpath/server
 rm -rf ui
 cp -rf $cpath/web/ui .
 
-flags="-v -trimpath -extldflags '-static' -tags osusergo,netgo,sqlite_omit_load_extension"
-ldflags="-s -w -X main.appVer=$ver -X main.commitId=$(git rev-parse HEAD) -X main.date=$(date --iso-8601=seconds)"
+flags="-v -trimpath -tags osusergo,netgo,sqlite_omit_load_extension"
+ldflags="-s -w -extldflags '-static' -X main.appVer=$ver -X main.commitId=$(git rev-parse HEAD) -X main.date=$(date --iso-8601=seconds)"
 
 if [ "$github_action" == "github_action" ]; then
   echo "github_action"