Skip to content
  • Olivier Fourdan's avatar
    xwayland: Fix build without glamor · 8587bbd8
    Olivier Fourdan authored
    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
      `glamor_block_handler'
    
    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
    enabled.
    
    Fixes: commit 84692415
    
     - "xwayland: Add EGL-backed GLX provider"
    Signed-off-by: default avatarOlivier Fourdan <ofourdan@redhat.com>
    8587bbd8