From 41e3e88c3a1e1874f1f60998a3ceb85b19d71fb2 Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Fri, 15 Jul 2011 16:08:08 +0200 Subject: [PATCH] Fix build with libva headers not in a standard include dir. --- gst/vaapiconvert/Makefile.am | 1 + gst/vaapidecode/Makefile.am | 1 + gst/vaapisink/Makefile.am | 1 + tests/Makefile.am | 2 +- 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gst/vaapiconvert/Makefile.am b/gst/vaapiconvert/Makefile.am index 34a8659..545e4cb 100644 --- a/gst/vaapiconvert/Makefile.am +++ b/gst/vaapiconvert/Makefile.am @@ -1,6 +1,7 @@ plugin_LTLIBRARIES = libgstvaapiconvert.la libgstvaapi_CFLAGS = \ + $(LIBVA_CFLAGS) \ -I$(top_srcdir)/gst-libs libgstvaapi_LIBS = \ diff --git a/gst/vaapidecode/Makefile.am b/gst/vaapidecode/Makefile.am index f537e6e..17bf0c9 100644 --- a/gst/vaapidecode/Makefile.am +++ b/gst/vaapidecode/Makefile.am @@ -1,6 +1,7 @@ plugin_LTLIBRARIES = libgstvaapidecode.la libgstvaapi_CFLAGS = \ + $(LIBVA_CFLAGS) \ -I$(top_srcdir)/gst-libs libgstvaapi_LIBS = \ diff --git a/gst/vaapisink/Makefile.am b/gst/vaapisink/Makefile.am index 81ed421..a11b1b5 100644 --- a/gst/vaapisink/Makefile.am +++ b/gst/vaapisink/Makefile.am @@ -1,6 +1,7 @@ plugin_LTLIBRARIES = libgstvaapisink.la libgstvaapi_CFLAGS = \ + $(LIBVA_CFLAGS) \ -I$(top_srcdir)/gst-libs if USE_VAAPISINK_GLX diff --git a/tests/Makefile.am b/tests/Makefile.am index 1441704..40f28e3 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -11,7 +11,7 @@ noinst_PROGRAMS += \ $(NULL) endif -TEST_CFLAGS = -I$(top_srcdir)/gst-libs $(GST_CFLAGS) +TEST_CFLAGS = $(LIBVA_CFLAGS) -I$(top_srcdir)/gst-libs $(GST_CFLAGS) TEST_X11_CFLAGS = -DUSE_X11 $(X11_CFLAGS) TEST_GLX_CFLAGS = -DUSE_GLX $(GLX_CFLAGS) TEST_MIX_CFLAGS = $(TEST_X11_CFLAGS) -- 2.7.4