From 296ad66d2dc30d59f92e236cf32de0206a08e3aa Mon Sep 17 00:00:00 2001 From: Justin Cormack Date: Wed, 10 May 2017 11:51:16 +0100 Subject: [PATCH] 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fc47caceb..f2a193534 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ SNAPSHOT_PACKAGES=$(shell go list ./snapshot/...) # Project binaries. COMMANDS=ctr containerd protoc-gen-gogoctrd dist ctrd-protobuild -ifneq ("$(GOOS)", "windows") +ifeq ("$(GOOS)", "linux") COMMANDS += containerd-shim endif BINARIES=$(addprefix bin/,$(COMMANDS))