summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-04-16 15:46:28 +0100
committerEmil Velikov <[email protected]>2017-04-24 13:13:07 +0100
commit8aa9aa6a5f86891c106bcc95d88377af1bfa0406 (patch)
tree6da73f10e9951260063147260b3e104f605de705 /src/mesa
parent10ff4b49dc49c0c663acad5f678eba0ca33744d6 (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 <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]> (cherry picked from commit 51c0c213b7fa53b249e9fcb9004a3ba1076fe773)
Diffstat (limited to 'src/mesa')
-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)