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:43:17 +0800
commitf12f80371fb534e6bbf248586b3c17c298a31f4e (patch)
tree1117343908800040c30ab8bf3bac906a674a0f71
parentf8be4a5477e58c4a27170f0c87eeedac8de60aef (diff)
test/egl: Fix compiling error if GLESv1_CM isn't installed in the default locationvaapi-ext
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Signed-off-by: Hai Lan <hai.lan@intel.com> (cherry picked from commit af294d11c051342fbe22ab68f7117e1422956bc2)
-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