glmark2: narrow down libgl requirements
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Fri, 15 Apr 2016 11:30:46 +0000 (08:30 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 14 May 2016 13:22:28 +0000 (15:22 +0200)
commit3c87cc9e424a7752c06b5f51cc81c2a0260cc7e0
treec8a31692439eed4810d410eeee772ef950c50799
parent4ab21916e17be3434023deaf9cb74dcdd4f172c1
glmark2: narrow down libgl requirements

Mesa3d DRI drivers can be enabled without support for libgl (for
example without x11). So make glmark2 gl (x11) support depend on
BR2_PACKAGE_HAS_LIBGL being present as well.
It doesn't exactly mean mesa3d providing libgl, but since we can't have
more than one libgl provider at the same time it's equivalent.
This is fallout from f1894ec95728806e09405d26663e0ea371afaeab which
enabled DRI drivers for non-xorg builds. Fixes:
http://autobuild.buildroot.net/results/174/1743ee5a340e5f4b1f8519e0b11eb196caa4f30e/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/glmark2/Config.in