From ad42eef0a5a3eb2af5115eb6036563e4cd4d1562 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Tue, 29 Mar 2016 11:39:09 -0300 Subject: [PATCH] weston: handle systemd dependency Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- package/weston/weston.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/weston/weston.mk b/package/weston/weston.mk index de734e033c..9313fcccbc 100644 --- a/package/weston/weston.mk +++ b/package/weston/weston.mk @@ -109,4 +109,11 @@ else WESTON_CONF_OPTS += --disable-lcms endif +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +WESTON_CONF_OPTS += --enable-systemd-login --enable-systemd-notify +WESTON_DEPENDENCIES += systemd +else +WESTON_CONF_OPTS += --disable-systemd-login --disable-systemd-notify +endif + $(eval $(autotools-package)) -- 2.30.2