xwayland: use internal_config

Avoids the need to have a separate config.h, and removes C compiler
arguments.
This commit is contained in:
Simon Ser 2022-11-25 18:05:17 +01:00 committed by Alexander Orzechowski
parent 6c897756b6
commit 4da9b32a15
4 changed files with 28 additions and 37 deletions

View file

@ -13,8 +13,6 @@ if not features.get('x11-backend')
endif
if not features.get('xwayland')
exclude_files += 'xwayland.h'
else
subdir('xwayland')
endif
if not features.get('gles2-renderer')
exclude_files += ['render/egl.h', 'render/gles2.h']