From aa3687ea898cbe1e31b3d95c09a13fab71447963 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sat, 22 Jun 2019 18:38:55 +0200 Subject: [PATCH] package/libvncserver: add optional systemd dependency Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/libvncserver/libvncserver.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/libvncserver/libvncserver.mk b/package/libvncserver/libvncserver.mk index 3805b2faaa..b024c3161d 100644 --- a/package/libvncserver/libvncserver.mk +++ b/package/libvncserver/libvncserver.mk @@ -60,6 +60,13 @@ else LIBVNCSERVER_CONF_OPTS += -DWITH_PNG=OFF endif +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +LIBVNCSERVER_CONF_OPTS += -DWITH_SYSTEMD=ON +LIBVNCSERVER_DEPENDENCIES += systemd +else +LIBVNCSERVER_CONF_OPTS += -DWITH_SYSTEMD=OFF +endif + ifeq ($(BR2_PACKAGE_ZLIB),y) LIBVNCSERVER_CONF_OPTS += -DWITH_ZLIB=ON LIBVNCSERVER_DEPENDENCIES += zlib -- 2.30.2