aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFathi Boudra <fabo@debian.org>2011-10-17 11:56:52 +0300
committerFathi Boudra <fabo@debian.org>2011-10-17 11:56:52 +0300
commit3b1bbda26b63fc06e239681bc3d0299b4a6c9dd1 (patch)
tree66fc80b84e948431caebf5e5bc52d3875f79343f /Makefile
parent4a045fcd93b80671069eaddde3b4298ec9f9b646 (diff)
Switch back to GL ES1 as the code needs to be ported to GL ES2.
Fix build failures for GL ES1: - link against libgGLESv1_CM
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index f54900b..72059ab 100644
--- a/Makefile
+++ b/Makefile
@@ -197,9 +197,9 @@ ifeq ($(SDL_CFLAGS),)
endif
endif
-GLES2_LIBS=$(shell pkg-config --libs glesv2 egl)
-ifeq ($(GLES2_LIBS),)
- GLES2_LIBS=-lGLESv2
+GLES_LIBS=$(shell pkg-config --libs glesv1_cm egl)
+ifeq ($(GLES_LIBS),)
+ GLES_LIBS=-lGLESv1_CM
endif
# version info
@@ -317,8 +317,8 @@ ifeq ($(PLATFORM),linux)
THREAD_LIBS=-lpthread
LIBS=-ldl -lm
- BASE_CFLAGS += -I/usr/include/EGL/ -I/usr/include/GLES2/
- CLIENT_LIBS=$(SDL_LIBS) $(GLES2_LIBS) -lX11
+ BASE_CFLAGS += -I/usr/include/EGL/ -I/usr/include/GLES/
+ CLIENT_LIBS=$(SDL_LIBS) $(GLES_LIBS) -lX11
ifeq ($(USE_OPENAL),1)
ifneq ($(USE_OPENAL_DLOPEN),1)