Skip to content

Commit

Permalink
Merge pull request #753 from Vingurzhou/master
Browse files Browse the repository at this point in the history
-installsuffix 参数没有指定后缀字符串。它被设定为空,这可能导致一些问题
  • Loading branch information
wenjianzhang committed Aug 2, 2023
2 parents d1279e6 + 7b43982 commit a282e44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -51,4 +51,4 @@ deploy:
#@git checkout master
#@git pull origin master
make build-linux
make run
make run

0 comments on commit a282e44

Please sign in to comment.