From 0f7ba5758bd8a3e12b8b33ab471336eaa7dd6fbc Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Tue, 18 Dec 2018 09:42:04 -0800 Subject: [PATCH] meson: Fix libsensors detection. Fixes: 5e71efef44b9 ("meson: Add lmsensors support") Signed-off-by: Vinson Lee Reviewed-by: Dylan Baker --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 34f29cf4106..5515f2605d5 100644 --- a/meson.build +++ b/meson.build @@ -1395,7 +1395,7 @@ endif _sensors = get_option('lmsensors') if _sensors != 'false' - dep_lmsensors = cc.find_library('libsensors', required : _sensors == 'true') + dep_lmsensors = cc.find_library('sensors', required : _sensors == 'true') if dep_lmsensors.found() pre_args += '-DHAVE_LIBSENSORS=1' endif -- 2.30.2