[strongSwan-dev] [PATCH] init: Don't build/install legacy systemd service if charon isn't built

Romain Francoise romain at orebokech.com
Fri May 1 22:24:38 CEST 2015


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 a72706c..6fff422 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.1.4



More information about the Dev mailing list