summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2017-04-16 15:46:28 +0100
committerAndres Gomez <agomez@igalia.com>2017-04-26 12:34:27 +0300
commite98c9af5598038dc8eaef6f654c9e1f752a83a35 (patch)
tree67d90dafb6456cead49e933450918c0f6bb08694
parent8d7a8711d4e0723e1996058d1a6251053ffd44a2 (diff)
st/mesa: automake: honour the vdpau header install location
If VDPAU is installed in the non-default location, we'll fail to find the headers and error at build time. ../../src/gallium/include/state_tracker/vdpau_dmabuf.h:37:25: fatal error: vdpau/vdpau.h: No such file or directory #include <vdpau/vdpau.h> ^ Fixes: faba96bc60b ("st/vdpau: add new interop interface") Cc: Christian König <christian.koenig@amd.com> Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> (cherry picked from commit 51c0c213b7fa53b249e9fcb9004a3ba1076fe773)
-rw-r--r--src/mesa/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/Makefile.am b/src/mesa/Makefile.am
index 9710c7f0941..53f311d2a97 100644
--- a/src/mesa/Makefile.am
+++ b/src/mesa/Makefile.am
@@ -96,6 +96,7 @@ endif
AM_CPPFLAGS = $(DEFINES) $(INCLUDE_DIRS)
AM_CFLAGS = \
+ $(VDPAU_CFLAGS) \
$(LLVM_CFLAGS) \
$(VISIBILITY_CFLAGS) \
$(MSVC2013_COMPAT_CFLAGS)