From d1fc3fc702cce6efca4a20f972ef1931c8392548 Mon Sep 17 00:00:00 2001 From: Sascha Grunert Date: Wed, 8 May 2019 08:49:08 +0200 Subject: Add `systemd` build tag If the systemd development files are not present on the system which builds podman, then `podman events` will error on runtime creation. Beside this, a warning will be printed when compiling podman. This commit mainly exists because projects which depend on libpod would not need the podman event support and therefore do not need to rely on the systemd headers. Signed-off-by: Sascha Grunert --- hack/systemd_tag.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 hack/systemd_tag.sh (limited to 'hack') diff --git a/hack/systemd_tag.sh b/hack/systemd_tag.sh new file mode 100755 index 000000000..c59cad559 --- /dev/null +++ b/hack/systemd_tag.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +if pkg-config --exists libsystemd; then + echo systemd +fi -- cgit v1.2.3-54-g00ecf