summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2012-03-29 14:33:26 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2012-03-29 14:36:39 +0800
commitaf294d11c051342fbe22ab68f7117e1422956bc2 (patch)
treea3184ea217dbafbb8dcc206d90cc61689e7b9c62
parent72ee1f44701fafeddab1b21036e8599f5ce10241 (diff)
test/egl: Fix compiling error if GLESv1_CM isn't installed in the default location
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Signed-off-by: Hai Lan <hai.lan@intel.com>
-rw-r--r--test/egl/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/egl/Makefile.am b/test/egl/Makefile.am
index caf7126..eadd26b 100644
--- a/test/egl/Makefile.am
+++ b/test/egl/Makefile.am
@@ -1,8 +1,9 @@
bin_PROGRAMS = va_egl
-INCLUDES = -I$(top_srcdir)
+INCLUDES = -I$(top_srcdir) \
+ $(GLESv1_CM_CFLAGS)
-TEST_LIBS = $(top_builddir)/va/$(libvabackendlib) $(top_builddir)/va/$(libvacorelib) $(top_builddir)/va/libva-egl.la -lpthread -lX11 -lEGL -lGLESv1_CM
+TEST_LIBS = $(top_builddir)/va/$(libvabackendlib) $(top_builddir)/va/$(libvacorelib) $(top_builddir)/va/libva-egl.la -lpthread -lX11 -lEGL $(GLESv1_CM_LIBS)
va_egl_LDADD = $(TEST_LIBS)
va_egl_SOURCES = va_egl_x11.c