Commit ad363d30 authored by Olaf Hering's avatar Olaf Hering Committed by Jean-Baptiste Kempf

gl: vaapi: use wayland CFLAGS

Use the CFLAGS from wayland-client.pc because the header files are not
in the standard directories. In openSUSE they are found in
/usr/include/wayland. Fixes commit 14ba7d2d ("gl: vaapi: add DRM
support")
Signed-off-by: Olaf Hering's avatarOlaf Hering <olaf@aepfle.de>
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent d15bf6d4
......@@ -35,7 +35,7 @@ OPENGL_COMMONCFLAGS += -DVLCGL_CONV_VA
if HAVE_WAYLAND_EGL
if HAVE_VAAPI_WL
OPENGL_COMMONLIBS += $(LIBVA_WL_LIBS)
OPENGL_COMMONCFLAGS += -DHAVE_VA_WL
OPENGL_COMMONCFLAGS += -DHAVE_VA_WL $(LIBVA_WL_CFLAGS)
endif
endif
if HAVE_VAAPI_X11
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment