diff options
author | Tobias Klausmann <[email protected]> | 2017-10-03 15:45:22 +0200 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-10-04 14:25:06 +0100 |
commit | 80bfff5c4f1d4d8c842a0ae06440d7886e8c2f28 (patch) | |
tree | 4added95fdb2c7f2f7cc4efff258a2499b6a7515 /src/egl | |
parent | fd404e3c17c3d09bf0e946bb44f339307c95cca7 (diff) |
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 <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
[Emil Velikov: add some text about CFLAGS and current wayland-egl situation]
Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/egl')
-rw-r--r-- | src/egl/wayland/wayland-egl/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/egl/wayland/wayland-egl/Makefile.am b/src/egl/wayland/wayland-egl/Makefile.am index 08a67680498..730fd03ddbe 100644 --- a/src/egl/wayland/wayland-egl/Makefile.am +++ b/src/egl/wayland/wayland-egl/Makefile.am @@ -2,7 +2,8 @@ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = wayland-egl.pc AM_CFLAGS = $(DEFINES) \ - $(VISIBILITY_CFLAGS) + $(VISIBILITY_CFLAGS) \ + $(WAYLAND_SERVER_CFLAGS) lib_LTLIBRARIES = libwayland-egl.la noinst_HEADERS = wayland-egl-backend.h |