[Mesa-dev] [PATCH 3/4] st/mesa: automake: honour the vdpau header install location
Nicolai Hähnle
nhaehnle at gmail.com
Wed Apr 19 06:17:58 UTC 2017
Patches 1-3:
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
On 18.04.2017 20:46, Emil Velikov wrote:
> From: Emil Velikov <emil.velikov at collabora.com>
>
> 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 at amd.com>
> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
> ---
> Unrelated: I'm itching to fold the three interop headers, but that will
> follow at a later stage.
> ---
> 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)
>
--
Lerne, wie die Welt wirklich ist,
Aber vergiss niemals, wie sie sein sollte.
More information about the mesa-dev
mailing list