aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-01-29 05:49:47 -0800
committerGitHub <noreply@github.com>2020-01-29 05:49:47 -0800
commit8241c1ae940996ff086f67cff655b202b6092699 (patch)
treebd5636c4357fe9abad02998a9d54cc5b59211147 /Makefile
parentb2ae45cda18a9615c4ce61425531ce2c911701dc (diff)
parent633610769ef270aac4f274ed363970c6da0a1b24 (diff)
downloadpodman-8241c1ae940996ff086f67cff655b202b6092699.tar.gz
podman-8241c1ae940996ff086f67cff655b202b6092699.tar.bz2
podman-8241c1ae940996ff086f67cff655b202b6092699.zip
Merge pull request #5011 from vrothberg/fix-4814
run `varlink_generate` on Linux only
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 85f1036e0..420e3c4b2 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/...