Commit 8587bbd8 authored by Olivier Fourdan's avatar Olivier Fourdan
Browse files

xwayland: Fix build without glamor

When building Xwayland without glamor support enabled using automake,
the build would fail at link time trying to find `glamor_block_handler`:

  /usr/bin/ld: xwayland-glx.o: in function `egl_drawable_wait_x':
  hw/xwayland/xwayland-glx.c:102: undefined reference to

Make sure we don't try to build `xwayland-glx.c` without glamor in the
Xwayland Makefile.

Note: Meson build is fine because it's already build only with glamor

Fixes: commit 84692415

 - "xwayland: Add EGL-backed GLX provider"
Signed-off-by: default avatarOlivier Fourdan <>
parent a0269727
......@@ -21,13 +21,15 @@ Xwayland_SOURCES = \
$(top_srcdir)/Xi/stubs.c \
if GLX
Xwayland_SOURCES += \
Xwayland_CFLAGS += \
GLXVND_LIB = $(top_builddir)/glx/
endif #GLX
endif # GLAMOR
Xwayland_LDADD = \
$(glamor_lib) \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment