package/jack2: add systemd optional dependency

Add systemd optional dependency (enabled by default)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2022-07-27 15:26:29 +02:00 committed by Thomas Petazzoni
parent 69284b6700
commit 166ea61fb4

View File

@ -47,6 +47,13 @@ else
JACK2_CONF_OPTS += --readline=no
endif
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
JACK2_DEPENDENCIES += systemd
JACK2_CONF_OPTS += --systemd=yes
else
JACK2_CONF_OPTS += --systemd=no
endif
ifeq ($(BR2_PACKAGE_JACK2_LEGACY),y)
JACK2_CONF_OPTS += --classic
else