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.
This commit is contained in:
committed by
Martin Willi
parent
b821575093
commit
f5db98c038
@@ -2,8 +2,10 @@
|
|||||||
SUBDIRS =
|
SUBDIRS =
|
||||||
|
|
||||||
if USE_LEGACY_SYSTEMD
|
if USE_LEGACY_SYSTEMD
|
||||||
|
if USE_CHARON
|
||||||
SUBDIRS += systemd
|
SUBDIRS += systemd
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
if USE_SYSTEMD
|
if USE_SYSTEMD
|
||||||
if USE_SWANCTL
|
if USE_SWANCTL
|
||||||
|
|||||||
Reference in New Issue
Block a user