On Tue, Dec 18, 2018 at 11:42 AM Dylan Baker <dy...@pnwbakers.com> wrote: > > Quoting Vinson Lee (2018-12-18 09:52:08) > > Fixes: 5e71efef44b9 ("meson: Add lmsensors support") > > Signed-off-by: Vinson Lee <v...@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. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev