From 7b43982595563942d7eb66e311627fa559dde664 Mon Sep 17 00:00:00 2001 From: Vingurzhou Date: Sat, 10 Jun 2023 15:57:18 +0800 Subject: [PATCH] Update Makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix(makefile): -installsuffix 参数没有指定后缀字符串。它被设定为空,这可能导致一些问题 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 812402bb..afdb1a12 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ PROJECT:=go-admin .PHONY: build build: - CGO_ENABLED=0 go build -ldflags="-w -s" -a -installsuffix -o go-admin . + CGO_ENABLED=0 go build -ldflags="-w -s" -a -installsuffix "" -o go-admin . # make build-linux build-linux: @@ -51,4 +51,4 @@ deploy: #@git checkout master #@git pull origin master make build-linux - make run \ No newline at end of file + make run