From: Rafael Antognolli Date: Wed, 15 Nov 2017 17:32:47 +0000 (-0800) Subject: meson: Add dridriverdir variable to dri.pc. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=306914db92e12d5424493d0ea2c4566b393c58c8;p=mesa.git meson: Add dridriverdir variable to dri.pc. Xorg (and possibly other things) depend on this variable to find the path to DRI drivers. Signed-off-by: Rafael Antognolli Cc: Dylan Baker Reviewed-by: Dylan Baker --- 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 )