Merge branch 'wscons' into 'master'

Draft: Add OpenBSD/wscons support

See merge request wlroots/wlroots!5378
This commit is contained in:
illiliti 2026-06-13 10:25:16 +00:00
commit 90cf273319
24 changed files with 1531 additions and 179 deletions

View file

@ -70,6 +70,7 @@ features = {
'drm-backend': false,
'x11-backend': false,
'libinput-backend': false,
'wscons-backend': false,
'xwayland': false,
'gles2-renderer': false,
'vulkan-renderer': false,
@ -121,7 +122,12 @@ pixman = dependency('pixman-1',
default_options: ['werror=false'],
)
math = cc.find_library('m')
rt = cc.find_library('rt')
platform = target_machine.system()
if platform == 'openbsd'
rt = dependency('', required: false)
else
rt = cc.find_library('rt')
endif
wlr_files = []
wlr_deps = [