From: Fabrice Fontaine Date: Fri, 24 May 2019 15:11:22 +0000 (+0200) Subject: package/sslh: add optional systemd dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d92c18d929e56f4a35936a837ea745c763596a05;p=buildroot.git package/sslh: add optional systemd dependency systemd dependency has been added in version 1.18 with https://github.com/yrutschle/sslh/commit/b3f48d98767634007dbe29ee3cb609a2e4283b7d Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/sslh/sslh.mk b/package/sslh/sslh.mk index d0a5f82347..6e29a99189 100644 --- a/package/sslh/sslh.mk +++ b/package/sslh/sslh.mk @@ -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