diff options
Diffstat (limited to 'plugins/gpu-gles/Makefile')
-rw-r--r-- | plugins/gpu-gles/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/gpu-gles/Makefile b/plugins/gpu-gles/Makefile index 241fad0..06552ed 100644 --- a/plugins/gpu-gles/Makefile +++ b/plugins/gpu-gles/Makefile @@ -8,7 +8,13 @@ SRC_STANDALONE += gpuDraw.c gpuFps.c gpuPlugin.c gpuPrim.c gpuTexture.c SRC_GPULIB += gpulib_if.c
CFLAGS += -I$(PREFIX)include
-LDLIBS += -L$(PREFIX)lib -lGLES_CM
+LDLIBS += -L$(PREFIX)lib
+ifeq "$(PLATFORM)" "caanoo"
+CFLAGS += -DFAKE_WINDOW
+LDLIBS += -lopengles_lite -lstdc++
+else
+LDLIBS += -lGLES_CM
+endif
BIN_STANDLALONE = gpuGLES.so
BIN_GPULIB = gpu_gles.so
|