forked from enlightenment/enlightenment
E: fix Wayland without xwayland build
When building enlightement without xwayland, we need to provide MESA_EGL_NO_X11_HEADERS in the CFLAGS to avoid including X11/Xlib.h. This define is provided by WAYLAND_EGL_CFLAGS, so add it for E modules and e_fm build. Fixes: In file included from /usr/include/EGL/egl.h:39:0, from ./src/bin/e.h:108, from src/modules/mixer/lib/backends/pulseaudio/pulse.c:1: /usr/include/EGL/eglplatform.h:119:22: erreur fatale : X11/Xlib.h Signed-off-by: Romain Naour <romain.naour@gmail.com>
This commit is contained in:
parent
b133dbd35d
commit
c8f5f942d0
|
@ -9,6 +9,7 @@ EFM_CPPFLAGS = \
|
|||
@VALGRIND_CFLAGS@ \
|
||||
@EDJE_DEF@ \
|
||||
@WAYLAND_CFLAGS@ \
|
||||
@WAYLAND_EGL_CFLAGS@ \
|
||||
-DPACKAGE_BIN_DIR=\"@PACKAGE_BIN_DIR@\" \
|
||||
-DPACKAGE_LIB_DIR=\"@PACKAGE_LIB_DIR@\" \
|
||||
-DPACKAGE_DATA_DIR=\"@PACKAGE_DATA_DIR@\" \
|
||||
|
|
|
@ -8,6 +8,7 @@ MOD_CPPFLAGS = -I. \
|
|||
-I$(top_srcdir)/src/modules \
|
||||
@e_cflags@ \
|
||||
@WAYLAND_CFLAGS@ \
|
||||
@WAYLAND_EGL_CFLAGS@ \
|
||||
-DE_BINDIR=\"$(bindir)\"
|
||||
|
||||
MOD_LIBS = @e_libs@ @dlopen_libs@
|
||||
|
|
Loading…
Reference in New Issue