mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
hw: xwayland: fix build if neither gbm nor eglstream available
glamor needs to be disabled if neither gbm nor eglstream is available, otherwise build breaks. Closes: xorg/xserver#1631 Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Peter Hutterer
parent
374ee7acd7
commit
8d2117abeb
@@ -414,8 +414,10 @@ configure_file(output : 'xwin-config.h',
|
||||
input : 'xwin-config.h.meson.in',
|
||||
configuration : xwin_data)
|
||||
|
||||
build_xwayland_glamor = build_glamor and (gbm_dep.found() or build_eglstream)
|
||||
|
||||
xwayland_data = configuration_data()
|
||||
xwayland_data.set('XWL_HAS_GLAMOR', build_glamor and (gbm_dep.found() or build_eglstream) ? '1' : false)
|
||||
xwayland_data.set('XWL_HAS_GLAMOR', build_xwayland_glamor ? '1' : false)
|
||||
xwayland_data.set('XWL_HAS_EGLSTREAM', build_eglstream ? '1' : false)
|
||||
xwayland_data.set('XWL_HAS_LIBDECOR', have_libdecor ? '1' : false)
|
||||
xwayland_data.set('XWL_HAS_XWAYLAND_EXTENSION', xwaylandproto_dep.found() ? '1' : false)
|
||||
|
||||
Reference in New Issue
Block a user