[Mesa-dev] [PATCH 4/9] meson: require shared glapi when using DRI based libGL

Dylan Baker dylan at pnwbakers.com
Sat Feb 24 00:38:05 UTC 2018


Quoting Emil Velikov (2018-02-23 11:32:03)
> From: Emil Velikov <emil.velikov at collabora.com>
> 
> Just like we do in the autotools build.
> 
> Signed-off-by: Emil Velikov <emil.velikov at 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 at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
-------------- 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/20180223/2d0dc1e6/attachment.sig>


More information about the mesa-dev mailing list