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

_______________________________________________
Dev mailing list
[email protected]
https://lists.strongswan.org/mailman/listinfo/dev

Reply via email to