Skip to content

Commit 49847ed

Browse files
authored
Merge pull request #296 from Random-Liu/statically-link
Make crictl and critest statically linked.
2 parents 34ce008 + e1b2855 commit 49847ed

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
@@ -44,12 +44,12 @@ ifndef GOPATH
4444
endif
4545

4646
critest: check-gopath
47-
$(GO) test -c \
47+
CGO_ENABLED=0 $(GO) test -c \
4848
$(PROJECT)/cmd/critest \
4949
-o $(GOBINDIR)/bin/critest
5050

5151
crictl: check-gopath
52-
$(GO) install \
52+
CGO_ENABLED=0 $(GO) install \
5353
$(PROJECT)/cmd/crictl
5454

5555
clean:

0 commit comments

Comments
 (0)