[Mesa-dev] [PATCH] meson: Fix libsensors detection.
Vinson Lee
vlee at freedesktop.org
Tue Dec 18 21:01:43 UTC 2018
On Tue, Dec 18, 2018 at 11:42 AM Dylan Baker <dylan at pnwbakers.com> wrote:
>
> 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
This patch fixes libsensors detection for me on Ubuntu 18.10 with meson 0.47.2.
More information about the mesa-dev
mailing list