package/sslh: add optional systemd dependency

systemd dependency has been added in version 1.18 with
b3f48d9876

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 2019-05-24 17:11:22 +02:00 committed by Thomas Petazzoni
parent 6cb6e1b619
commit d92c18d929

View File

@ -27,6 +27,13 @@ else
SSLH_MAKE_OPTS += USELIBPCRE=
endif
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
SSLH_DEPENDENCIES += systemd
SSLH_MAKE_OPTS += USESYSTEMD=1
else
SSLH_MAKE_OPTS += USESYSTEMD=
endif
define SSLH_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(SSLH_MAKE_OPTS) -C $(@D)
endef