From: Gustavo Zacarias Date: Tue, 29 Mar 2016 14:39:09 +0000 (-0300) Subject: weston: handle systemd dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ad42eef0a5a3eb2af5115eb6036563e4cd4d1562;p=buildroot.git weston: handle systemd dependency Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- 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))