From 6094ff1603054d8842c657a18d02d1084cd868a4 Mon Sep 17 00:00:00 2001 From: Marcin Slusarz Date: Tue, 21 Aug 2012 23:05:37 +0200 Subject: [PATCH] build: fix build with GLESv2 CC src/static_gl_math.lo In file included from src/static_gl_math.c:35:0: src/static_gl.h:36:23: fatal error: GLES2/gl2.h: No such file or directory CC src/static_gl_shader.lo src/static_gl_shader.c:36:23: fatal error: GLES2/gl2.h: No such file or directory Signed-off-by: Marcin Slusarz Signed-off-by: David Herrmann --- Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile.am b/Makefile.am index 10753d6..e83c246 100644 --- a/Makefile.am +++ b/Makefile.am @@ -277,6 +277,10 @@ nodist_libkmscon_static_la_SOURCES = \ src/static_gl_math.c \ src/static_gl_shader.c \ src/static_shaders.c + +libkmscon_static_la_CPPFLAGS = \ + $(AM_CPPFLAGS) \ + $(GLES2_CFLAGS) endif # -- 2.7.4