[Mesa-dev] [PATCH] meson: Fix libsensors detection.

Dylan Baker dylan at pnwbakers.com
Tue Dec 18 19:32:15 UTC 2018


Quoting Vinson Lee (2018-12-18 09:52:08)
> Fixes: 5e71efef44b9 ("meson: Add lmsensors support")
> Signed-off-by: Vinson Lee <vlee at freedesktop.org>
> ---
>  meson.build | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meson.build b/meson.build
> index 57dd8b59cb..d591ca377b 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.19.1
> 

Does this actually fix anything for you, and if so on what OS? On Arch both
libsensors and sensors work fine and find the same library.

Dylan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181218/ffb6543e/attachment.sig>


More information about the mesa-dev mailing list