From: Rosen Penev Date: Fri, 28 Oct 2022 23:47:57 +0000 (-0700) Subject: meson: fix array issue X-Git-Tag: v2.39-rc1~449^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c41e47c120de626bc8ccb19937c911f7430c6842;p=thirdparty%2Futil-linux.git 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 --- 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