aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-05-07 19:44:40 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-14 11:41:11 +0100
commit89ad0fb281d71404b311e2fefb3cfc6c6cad0ac0 (patch)
treee91b2d8bb41377d48fce396a875c8a85fecb5fbe /meta/recipes-graphics/mesa
parent3905be16940ea642244935517f121a84e28aac0f (diff)
downloadopenembedded-core-contrib-89ad0fb281d71404b311e2fefb3cfc6c6cad0ac0.tar.gz
libglu: add x11 to REQUIRED_DISTRO_FEATURES
It requires libGL.so which is provided by mesa when x11 in DISTRO_FEATURES. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/recipes-graphics/mesa')
-rw-r--r--meta/recipes-graphics/mesa/libglu_9.0.0.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-graphics/mesa/libglu_9.0.0.bb b/meta/recipes-graphics/mesa/libglu_9.0.0.bb
index 06d30f9bfa9..010998d926d 100644
--- a/meta/recipes-graphics/mesa/libglu_9.0.0.bb
+++ b/meta/recipes-graphics/mesa/libglu_9.0.0.bb
@@ -21,7 +21,10 @@ S = "${WORKDIR}/glu-${PV}"
DEPENDS = "virtual/libgl"
-inherit autotools pkgconfig
+inherit autotools pkgconfig distro_features_check
+
+# Requires libGL.so which is provided by mesa when x11 in DISTRO_FEATURES
+REQUIRED_DISTRO_FEATURES = "x11"
# Remove the mesa-glu dependency in mesa-glu-dev, as mesa-glu is empty
RDEPENDS_${PN}-dev = ""