wayland-egl: adds CFLAGS for wayland.egl.h include
authorTobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Tue, 3 Oct 2017 13:45:22 +0000 (15:45 +0200)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 4 Oct 2017 13:25:06 +0000 (14:25 +0100)
commit80bfff5c4f1d4d8c842a0ae06440d7886e8c2f28
tree4added95fdb2c7f2f7cc4efff258a2499b6a7515
parentfd404e3c17c3d09bf0e946bb44f339307c95cca7
wayland-egl: adds CFLAGS for wayland.egl.h include

Starting with commit ab0589c6ed ("wayland-egl: remove no longer needed
wayland-client dependency") the wayland-egl.h include was missing leading to a
build failure:

  CC       wayland-egl.lo
wayland-egl.c:33:10: fatal error: wayland-egl.h: No such file or directory
 #include "wayland-egl.h"
          ^~~~~~~~~~~~~~~

Strictly speaking we should be checking for wayland-egl in configure and
propagating its CFLAGS here.

Yet again, the current wayland-egl split is bonkers as the Wayland repo
provides single header, no pkg-config file or library.

That will be resolved at a later stage, but in the meanwhile fix the
build.

Fixes: ab0589c6ed ("wayland-egl: remove no longer needed wayland-client
dependency")
Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
[Emil Velikov: add some text about CFLAGS and current wayland-egl situation]
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/wayland/wayland-egl/Makefile.am