From 306914db92e12d5424493d0ea2c4566b393c58c8 Mon Sep 17 00:00:00 2001 From: Rafael Antognolli Date: Wed, 15 Nov 2017 09:32:47 -0800 Subject: [PATCH] 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 --- 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.30.2