diff --git a/meson.build b/meson.build index 294043ba72a..b0de22106b5 100644 --- a/meson.build +++ b/meson.build @@ -1382,7 +1382,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