From: Fabrice Fontaine Date: Sat, 22 Jun 2019 16:38:55 +0000 (+0200) Subject: package/libvncserver: add optional systemd dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aa3687ea898cbe1e31b3d95c09a13fab71447963;p=buildroot.git package/libvncserver: add optional systemd dependency Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- 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