Skip to content

Commit 644cc23

Browse files
committed
Fix make cross
1 parent cafe129 commit 644cc23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ endif
5858

5959
.PHONY: cross
6060
cross: devel-deps ## build for cross platforms
61-
goxz -arch amd64,arm64 -os linux,darwin -n $(BIN) -pv=v$(VERSION) -build-ldflags=$(BUILD_LDFLAGS) -trimpath .
62-
goxz -arch amd64 -os windows -n $(BIN) -pv=v$(VERSION) -build-ldflags=$(BUILD_LDFLAGS) -trimpath .
61+
goxz -arch amd64,arm64 -os linux,darwin -n $(BIN) -pv=v$(VERSION) -build-ldflags=$(BUILD_LDFLAGS) -trimpath $(MAIN)
62+
goxz -arch amd64 -os windows -n $(BIN) -pv=v$(VERSION) -build-ldflags=$(BUILD_LDFLAGS) -trimpath $(MAIN)
6363

6464
.PHONY: upload
6565
upload: devel-deps ## upload

0 commit comments

Comments
 (0)