summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/weston/weston.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/package/weston/weston.mk b/package/weston/weston.mk
index 6d1408f268..b6b8556f89 100644
--- a/package/weston/weston.mk
+++ b/package/weston/weston.mk
@@ -26,8 +26,13 @@ WESTON_CONF_OPT = \
--disable-wayland-compositor \
--disable-headless-compositor \
--disable-weston-launch \
- --disable-colord \
- --disable-libunwind
+ --disable-colord
+
+ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
+WESTON_DEPENDENCIES += libunwind
+else
+WESTON_CONF_OPT += --disable-libunwind
+endif
ifeq ($(BR2_PACKAGE_WESTON_FBDEV),y)
WESTON_CONF_OPT += --enable-fbdev-compositor
OpenPOWER on IntegriCloud