Only build shim on Linux
Currently does not build on any other platform, so add them in when it builds. With this Darwin builds without any errors. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
5e192fae6c
commit
296ad66d2d
2
Makefile
2
Makefile
@ -28,7 +28,7 @@ SNAPSHOT_PACKAGES=$(shell go list ./snapshot/...)
|
|||||||
|
|
||||||
# Project binaries.
|
# Project binaries.
|
||||||
COMMANDS=ctr containerd protoc-gen-gogoctrd dist ctrd-protobuild
|
COMMANDS=ctr containerd protoc-gen-gogoctrd dist ctrd-protobuild
|
||||||
ifneq ("$(GOOS)", "windows")
|
ifeq ("$(GOOS)", "linux")
|
||||||
COMMANDS += containerd-shim
|
COMMANDS += containerd-shim
|
||||||
endif
|
endif
|
||||||
BINARIES=$(addprefix bin/,$(COMMANDS))
|
BINARIES=$(addprefix bin/,$(COMMANDS))
|
||||||
|
Loading…
Reference in New Issue
Block a user