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>
This commit is contained in:
Robert Yang
2015-05-07 19:44:40 -07:00
committed by Richard Purdie
parent 5f21aa0776
commit 45c008b3cb

View File

@@ -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 = ""