From 633610769ef270aac4f274ed363970c6da0a1b24 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Wed, 29 Jan 2020 12:17:42 +0100 Subject: run `varlink_generate` on Linux only Running the `varlink_generate` make target on non-Linux machines is not supported, so restrict it to Linux only. Fixes: #4814 Signed-off-by: Valentin Rothberg --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index da58d2e8a..f29b7d47d 100644 --- a/Makefile +++ b/Makefile @@ -524,7 +524,10 @@ install.libseccomp.sudo: cmd/podman/varlink/iopodman.go: .gopathok cmd/podman/varlink/io.podman.varlink +ifeq ("$(shell uname -o)", "GNU/Linux") + # Only generate the varlink code on Linux (see issue #4814). GO111MODULE=off $(GO) generate ./cmd/podman/varlink/... +endif API.md: cmd/podman/varlink/io.podman.varlink $(GO) generate ./docs/... -- cgit v1.2.3-54-g00ecf