diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-05-07 19:44:40 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-14 11:43:57 +0100 |
commit | 45c008b3cb6f693a56fef4a1d7c5b2246a4a327f (patch) | |
tree | ccd93429fc7ee1fd35b2f8e171d96d1f620827e4 /meta/recipes-graphics/mesa | |
parent | 5f21aa0776bef90142116344cbb6280434bf4eec (diff) | |
download | poky-45c008b3cb6f693a56fef4a1d7c5b2246a4a327f.tar.gz |
libglu: add x11 to REQUIRED_DISTRO_FEATURES
It requires libGL.so which is provided by mesa when x11 in
DISTRO_FEATURES.
(From OE-Core rev: 89ad0fb281d71404b311e2fefb3cfc6c6cad0ac0)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa')
-rw-r--r-- | meta/recipes-graphics/mesa/libglu_9.0.0.bb | 5 |
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 06d30f9bfa..010998d926 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}" | |||
21 | 21 | ||
22 | DEPENDS = "virtual/libgl" | 22 | DEPENDS = "virtual/libgl" |
23 | 23 | ||
24 | inherit autotools pkgconfig | 24 | inherit autotools pkgconfig distro_features_check |
25 | |||
26 | # Requires libGL.so which is provided by mesa when x11 in DISTRO_FEATURES | ||
27 | REQUIRED_DISTRO_FEATURES = "x11" | ||
25 | 28 | ||
26 | # Remove the mesa-glu dependency in mesa-glu-dev, as mesa-glu is empty | 29 | # Remove the mesa-glu dependency in mesa-glu-dev, as mesa-glu is empty |
27 | RDEPENDS_${PN}-dev = "" | 30 | RDEPENDS_${PN}-dev = "" |