From: Vinson Lee Date: Tue, 18 Dec 2018 17:42:04 +0000 (-0800) Subject: meson: Fix libsensors detection. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0f7ba5758bd8a3e12b8b33ab471336eaa7dd6fbc;p=mesa.git meson: Fix libsensors detection. Fixes: 5e71efef44b9 ("meson: Add lmsensors support") Signed-off-by: Vinson Lee Reviewed-by: Dylan Baker --- 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