Mesa (master): meson: Fix libsensors detection.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Dec 19 03:43:02 UTC 2018
Module: Mesa
Branch: master
Commit: 0f7ba5758bd8a3e12b8b33ab471336eaa7dd6fbc
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f7ba5758bd8a3e12b8b33ab471336eaa7dd6fbc
Author: Vinson Lee <vlee at freedesktop.org>
Date: Tue Dec 18 09:42:04 2018 -0800
meson: Fix libsensors detection.
Fixes: 5e71efef44b9 ("meson: Add lmsensors support")
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 34f29cf410..5515f2605d 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
More information about the mesa-commit
mailing list