summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominique Leuenberger <dimstar@opensuse.org>2016-11-24 21:17:54 +0100
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2016-11-25 10:20:00 +0100
commit97e913ad122e1308fa2cbc4a3e4336389dd9be67 (patch)
tree41b5ed1096a1f291990845d558ec948cf4ed0f89
parent702a4b34480eba2ad168ef7a6e8c31a2d0013a87 (diff)
build: add LIBVA_WAYLAND_CFLAGS to libgstvaapiegl
In case libva-wayland has its headers not installed in default locations (like /usr/include), the build fails to include "wayland-client.h": CC libgstvaapi_egl_la-gstvaapiutils_egl.lo In file included from gstvaapidisplay_wayland.h:27:0, from gstvaapidisplay_egl.c:35: /usr/include/va/va_wayland.h:31:28: fatal error: wayland-client.h: No such file or directory #include <wayland-client.h> As we already passed VA_CLAGS, /usr/include/va/va_wayland.h could be found, but it is our fault not to instruct the system that we ALSO care for va_wayland. We correctly query for libva-wayland.pc in configure and use this in other places as well. It is thus only correct and consequent, to do it also at this spot. https://bugzilla.gnome.org/show_bug.cgi?id=773946
-rw-r--r--gst-libs/gst/vaapi/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/vaapi/Makefile.am b/gst-libs/gst/vaapi/Makefile.am
index f606bbb5..dd3aed59 100644
--- a/gst-libs/gst/vaapi/Makefile.am
+++ b/gst-libs/gst/vaapi/Makefile.am
@@ -461,6 +461,7 @@ libgstvaapi_egl_la_CFLAGS = \
$(GST_BASE_CFLAGS) \
$(GST_VIDEO_CFLAGS) \
$(LIBVA_CFLAGS) \
+ $(LIBVA_WAYLAND_CFLAGS) \
$(EGL_CFLAGS) \
$(NULL)