]> code.ossystems Code Review - openembedded-core.git/commit
mesa-demos: only enable glu when x11 in DISTRO_FEATURES
authorRobert Yang <liezhi.yang@windriver.com>
Wed, 6 May 2015 09:17:08 +0000 (02:17 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 May 2015 10:41:11 +0000 (11:41 +0100)
commit3905be16940ea642244935517f121a84e28aac0f
tree86c47d3bbbfc6e1953b505f859d780f98d42659b
parent3a464d67b60f70b865f7db768e7edc53e40ff450
mesa-demos: only enable glu when x11 in DISTRO_FEATURES

Fixed when no x11 in DISTRO_FEATURES:
checking for GL/glu.h... no
configure: error: GLU not found

The GL/glu.h is provided by libglu, and libglu requires libGL.so which
is provided by mesa, but mesa doesn't build out libGL.so without x11 in
DISTRO_FEATURES, so only enable glu when x11 in DISTRO_FEATURES.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/recipes-graphics/mesa/mesa-demos_8.2.0.bb