Header files not configured/configurable for WL/X11 usage
The problem occurs on all systems without Xlib.h
. Example output from a failed compilation of gstreamer-plugins-base
:
/usr/include/EGL/eglplatform.h:128:10: fatal error: X11/Xlib.h: No such file or directory
This happens with all packages which use EGL, other examples include GTK+ and MPV. To what I understood, it is libglvnd's responsibility to configure the buildsystem to correctly defined EGL_NO_X11
(or the appropriate, corresponding name in the case of other files), in, say, PKGCONFIG or CMAKE modules. It should not be left up to users of libglvnd to meddle in the internals such as those makro configuration.