From f5db98c0384fc3472da4abef1d7c2557e0f5cf62 Mon Sep 17 00:00:00 2001 From: Romain Francoise Date: Fri, 1 May 2015 22:24:38 +0200 Subject: [PATCH] init: Don't build/install legacy systemd service if charon isn't built If the user configures the build to only include charon-systemd the "legacy" systemd service isn't useful, so skip its generation and installation. --- init/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init/Makefile.am b/init/Makefile.am index a72706c992..6fff4221b8 100644 --- a/init/Makefile.am +++ b/init/Makefile.am @@ -2,8 +2,10 @@ SUBDIRS = if USE_LEGACY_SYSTEMD +if USE_CHARON SUBDIRS += systemd endif +endif if USE_SYSTEMD if USE_SWANCTL -- 2.39.2