meson: no-op rt library for openbsd

This commit is contained in:
illiliti 2026-05-23 10:15:29 +03:00
parent 3bd8f29b13
commit 98edc01c45

View file

@ -121,7 +121,12 @@ pixman = dependency('pixman-1',
default_options: ['werror=false'], default_options: ['werror=false'],
) )
math = cc.find_library('m') math = cc.find_library('m')
platform = target_machine.system()
if platform == 'openbsd'
rt = dependency('', required: false)
else
rt = cc.find_library('rt') rt = cc.find_library('rt')
endif
wlr_files = [] wlr_files = []
wlr_deps = [ wlr_deps = [