From 8802a5ffca69eb295c408c8b19351ea0d135eb2d Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Tue, 29 Mar 2016 11:39:10 -0300 Subject: [PATCH] weston: handle libxml2 dependency It's used for JUnit XML output support. 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 9313fcccbc..2891fe3246 100644 --- a/package/weston/weston.mk +++ b/package/weston/weston.mk @@ -116,4 +116,11 @@ else WESTON_CONF_OPTS += --disable-systemd-login --disable-systemd-notify endif +ifeq ($(BR2_PACKAGE_LIBXML2),y) +WESTON_CONF_OPTS += --enable-junit-xml +WESTON_DEPENDENCIES += libxml2 +else +WESTON_CONF_OPTS += --disable-junit-xml +endif + $(eval $(autotools-package)) -- 2.30.2