From 98edc01c45b51c7755783f9268a0fcf76a20845e Mon Sep 17 00:00:00 2001 From: illiliti Date: Sat, 23 May 2026 10:15:29 +0300 Subject: [PATCH] meson: no-op rt library for openbsd --- meson.build | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 6d31bdc41..ae63986b5 100644 --- a/meson.build +++ b/meson.build @@ -121,7 +121,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 = [