Quoting Emil Velikov (2018-02-23 11:32:03) > From: Emil Velikov <emil.veli...@collabora.com> > > Just like we do in the autotools build. > > Signed-off-by: Emil Velikov <emil.veli...@collabora.com> > --- > meson.build | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > diff --git a/meson.build b/meson.build > index 417b9b4a79f..f97a3c56b09 100644 > --- a/meson.build > +++ b/meson.build > @@ -347,8 +347,12 @@ if with_glx != 'disabled' > if with_dri > error('xlib conflicts with any dri driver') > endif > - elif with_glx == 'dri' and not with_dri > - error('dri based GLX requires at least one DRI driver') > + elif with_glx == 'dri' > + if not with_dri > + error('dri based GLX requires at least one DRI driver') > + elif not with_shared_glapi > + error('dri based GLX requires shared-glapi') > + endif > endif > endif > > -- > 2.16.0 > > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Reviewed-by: Dylan Baker <dy...@pnwbakers.com>
signature.asc
Description: signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev