From: Emil Velikov Date: Sun, 16 Apr 2017 14:46:28 +0000 (+0100) Subject: st/mesa: automake: honour the vdpau header install location X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=51c0c213b7fa53b249e9fcb9004a3ba1076fe773;p=mesa.git 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 ^ Fixes: faba96bc60b ("st/vdpau: add new interop interface") Cc: Christian König Signed-off-by: Emil Velikov Reviewed-by: Nicolai Hähnle --- 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)