GLSL support can be compiled without XML.

This commit is contained in:
Themaister 2012-12-23 13:44:31 +01:00
parent 359d5fa997
commit 143b5addc9

View File

@ -199,6 +199,9 @@ ifeq ($(HAVE_OPENGL), 1)
LIBS += -lGL
endif
endif
OBJ += gfx/shader_glsl.o
DEFINES += -DHAVE_GLSL
endif
ifeq ($(HAVE_VG), 1)
@ -236,11 +239,6 @@ ifeq ($(HAVE_XML), 1)
OBJ += cheats.o
LIBS += $(XML_LIBS)
DEFINES += $(XML_CFLAGS)
ifeq ($(HAVE_OPENGL), 1)
OBJ += gfx/shader_glsl.o
DEFINES += -DHAVE_GLSL
endif
endif
ifeq ($(HAVE_XML), 1)