From 51c0c213b7fa53b249e9fcb9004a3ba1076fe773 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sun, 16 Apr 2017 15:46:28 +0100 Subject: [PATCH] st/mesa: automake: honour the vdpau header install location MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- src/mesa/Makefile.am | 1 + 1 file changed, 1 insertion(+) 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) -- 2.30.2