[PATCH] libweston: fix pixel-format helpers compilation on non-X11 EGL platforms

Daniel Stone daniel at fooishbar.org
Wed Apr 12 14:01:44 UTC 2017


Hi Philipp,

On 12 April 2017 at 14:32, Philipp Zabel <p.zabel at pengutronix.de> wrote:
> Since building libweston includes EGL/egl.h from pixel-formats.c,
> EGL_CFLAGS must be added to libweston_CFLAGS, as on some platforms that
> contains -DMESA_EGL_NO_X11_HEADERS, and fails to compile without it:
>
>   CC       libweston/libweston_3_la-pixel-formats.lo
> In file included from [...]/usr/include/EGL/egl.h:39:0,
>                  from libweston/pixel-formats.c:39:
> [...]/usr/include/EGL/eglplatform.h:119:22:
> fatal error: X11/Xlib.h: No such file or directory

Thanks very much for this, and sorry for breaking it in the first
place. Reviewed and pushed:
To ssh://git.freedesktop.org/git/wayland/weston
   c65df640..552e4c43  push -> master

Cheers,
Daniel


More information about the wayland-devel mailing list