mirror of https://github.com/containers/podman.git
Fix varlink code generation target.
Closes #5130. varlink code generation was skipped when `uname -o` did not print "GNU/Linux". However on some Linux systems (e.g. alpine) only "Linux" is printed which results in cmd/podman/varlink/iopodman.go not being generated. Thus the Makefile target condition has been changed to match "Linux". Signed-off-by: Max Goltzsche <max.goltzsche@gmail.com>
This commit is contained in:
parent
ee811431d2
commit
c588ae1428
2
Makefile
2
Makefile
|
@ -582,7 +582,7 @@ install.libseccomp.sudo:
|
||||||
|
|
||||||
|
|
||||||
cmd/podman/varlink/iopodman.go: .gopathok cmd/podman/varlink/io.podman.varlink
|
cmd/podman/varlink/iopodman.go: .gopathok cmd/podman/varlink/io.podman.varlink
|
||||||
ifeq ("$(shell uname -o)", "GNU/Linux")
|
ifneq (,$(findstring Linux,$(shell uname -o)))
|
||||||
# Only generate the varlink code on Linux (see issue #4814).
|
# Only generate the varlink code on Linux (see issue #4814).
|
||||||
GO111MODULE=off $(GO) generate ./cmd/podman/varlink/...
|
GO111MODULE=off $(GO) generate ./cmd/podman/varlink/...
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue