Module: Mesa
Branch: master
Commit: 306914db92e12d5424493d0ea2c4566b393c58c8
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=306914db92e12d5424493d0ea2c4566b393c58c8

Author: Rafael Antognolli <[email protected]>
Date:   Wed Nov 15 09:32:47 2017 -0800

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 <[email protected]>
Cc: Dylan Baker <[email protected]>
Reviewed-by: Dylan Baker <[email protected]>

---

 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 a2fc8db8ad..217f1e5c71 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
   )
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to