Skip to content

Commit

Permalink
fix: 解决某些版本的 ubuntu 启动不了的 BUG (#451)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengkunwang223 authored Mar 30, 2023
1 parent 6472227 commit a181053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ build_web:

build_bin:
cd $(SERVER_PATH) \
&& CGO_ENABLED=1 GOOS=$(GOOS) GOARCH=$(GOARCH) $(GOBUILD) -trimpath -ldflags '-s -w --extldflags "-static -fpic"' -tags osusergo -o $(BUILD_PATH)/$(APP_NAME) $(MAIN)
&& CGO_ENABLED=1 GOOS=$(GOOS) GOARCH=$(GOARCH) $(GOBUILD) -trimpath -ldflags '-s -w --extldflags "-static -fpic"' -tags 'osusergo,netgo' -o $(BUILD_PATH)/$(APP_NAME) $(MAIN)

build_linux_on_mac:
cd $(SERVER_PATH) \
Expand Down

0 comments on commit a181053

Please sign in to comment.