Skip to content

Commit

Permalink
fix(mongodb): 修复mongodb-toolkit无法静态编译的问题 TencentBlueKing#8350
Browse files Browse the repository at this point in the history
  • Loading branch information
cycker committed Dec 2, 2024
1 parent 5616b20 commit cb47636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbm-services/mongodb/db-tools/mongo-toolkit-go/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ check:
build:
@echo " > Building Linux binary..."
# go build -v $(LDFLAGS) -o target/$(toolkit)_$(OS) cmd/mongo-toolkit-go/main.go
GOOS=linux GOARCH=amd64 go build $(TRIMPATH) -v $(BUILD_FLAG) -o ./build/$(SRV_NAME)_Linux cmd/$(SRV_NAME)/main.go
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build $(TRIMPATH) -v $(BUILD_FLAG) -o ./build/$(SRV_NAME)_Linux cmd/$(SRV_NAME)/main.go

local:
@echo " > Building $(OS) binary..."
Expand Down

0 comments on commit cb47636

Please sign in to comment.