make the egl-viv and egl-brcm config tests less convoluted

don't mix in gles2 stuff, and rely on the library definitions from the
mkspec.

Change-Id: Id81b27a8c4f24729866d3ceb5cf97b443def542c
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
Oswald Buddenhagen 2016-08-03 19:10:09 +02:00 committed by Lars Knoll
parent 1e6b403ecc
commit 4f8b40d74e
3 changed files with 1 additions and 5 deletions

View File

@ -38,7 +38,6 @@
****************************************************************************/
#include <EGL/egl.h>
#include <GLES2/gl2.h>
#include <bcm_host.h>
int main(int, char **)

View File

@ -39,7 +39,6 @@
#include <EGL/egl.h>
#include <EGL/eglvivante.h>
#include <GLES2/gl2.h>
int main(int, char **)
{

View File

@ -6,9 +6,7 @@ integrity {
}
CONFIG -= qt
LIBS += -lEGL -lGLESv2 -lGAL
for(p, QMAKE_LIBDIR_OPENGL_ES2) {
for(p, QMAKE_LIBDIR_OPENGL_EGL) {
exists($$p):LIBS += -L$$p
}