[Mesa-dev] [PATCH] meson: Add dridriverdir variable to dri.pc.

Dylan Baker dylan at pnwbakers.com
Wed Nov 15 17:39:23 UTC 2017


Reviewed-by: Dylan Baker <dylan at pnwbakers.com>

Quoting Rafael Antognolli (2017-11-15 09:32:47)
> Xorg (and possibly other things) depend on this variable to find the
> path to DRI drivers.
> 
> Signed-off-by: Rafael Antognolli <rafael.antognolli at intel.com>
> Cc: Dylan Baker <dylan at pnwbakers.com>
> ---
>  src/mesa/drivers/dri/meson.build | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/mesa/drivers/dri/meson.build b/src/mesa/drivers/dri/meson.build
> index a2fc8db8ada..217f1e5c71c 100644
> --- a/src/mesa/drivers/dri/meson.build
> +++ b/src/mesa/drivers/dri/meson.build
> @@ -58,6 +58,7 @@ if dri_drivers != []
>      filebase : 'dri',
>      description : 'Direct Rendering Infrastructure',
>      version : meson.project_version(),
> +    variables : ['dridriverdir=${prefix}/' + dri_drivers_path],
>      requires_private : ['libdrm >= 2.4.75'],  # FIXME: don't hardcode this
>    )
>  
> -- 
> 2.13.6
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171115/390e8a2a/attachment.sig>


More information about the mesa-dev mailing list