Don't link against -lGL when GLES is used.

This commit is contained in:
Themaister 2012-09-16 11:15:49 +02:00
parent 22aae7802a
commit 1a7d10fade

View File

@ -148,7 +148,7 @@ ifeq ($(OSX),1)
LIBS += -framework OpenGL
else
ifeq ($(HAVE_GLES), 1)
LIBS += -lGL -lGLESv2 -lEGL
LIBS += -lGLESv2 -lEGL
DEFINES += -DHAVE_OPENGLES -DHAVE_OPENGLES2
OBJ += gfx/context/xegl_ctx.o
else