Skip to content

Commit deec82e

Browse files
committed
Fix static linking
1 parent a6642df commit deec82e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ clean:
2626
$(DIST)/$(BIN_NAME)-%: GOOS = $(word 1,$(subst -, ,$*))
2727
$(DIST)/$(BIN_NAME)-%: GOARCH = $(word 2,$(subst -, ,$*))
2828
$(DIST)/$(BIN_NAME)-%: $(SOURCE)
29-
CGO=0 GOOS=$(GOOS) GOARCH=$(GOARCH) go build $(ARGS) -ldflags="$(LDFLAGS)" -o $@
29+
CGO_ENABLED=0 GOOS=$(GOOS) GOARCH=$(GOARCH) go build $(ARGS) -ldflags="$(LDFLAGS)" -o $@
3030

3131
shasums: $(DIST)/$(BIN_NAME)-shasums
3232
$(DIST)/$(BIN_NAME)-shasums: all

0 commit comments

Comments
 (0)