From c41e47c120de626bc8ccb19937c911f7430c6842 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Fri, 28 Oct 2022 16:47:57 -0700 Subject: [PATCH] meson: fix array issue += cannot be used with a dep. Found with muon's analyze: meson.build:643:5: error expected type dict|disabler|int|list|str, got dep Signed-off-by: Rosen Penev --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index ceb6b60a5e..5e920e6e53 100644 --- a/meson.build +++ b/meson.build @@ -636,7 +636,7 @@ thread_libs = dependency('threads') have = cc.has_function('timer_create') if not have - realtime_libs = cc.find_library('rt', required : true) + realtime_libs = [cc.find_library('rt', required : true)] have = cc.has_function('timer_create', dependencies : realtime_libs) if not have -- 2.47.2