[Mesa-dev] [PATCH] meson: Add moduledir to d3d.pc

Dylan Baker dylan at pnwbakers.com
Fri Mar 9 16:32:29 UTC 2018


This is required to build wine with the nine patchset

Fixes: 6b4c7047d57178d3362a710ad503057c6a582ca3
       ("meson: build gallium nine state_tracker")
Reported-by: Mike Lothian <mike at fireburn.co.uk>
Signed-off-by: Dylan Baker <dylan.c.baker at intel.com>
---
 src/gallium/targets/d3dadapter9/meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/targets/d3dadapter9/meson.build b/src/gallium/targets/d3dadapter9/meson.build
index fd608be9bf6..e3f4ae58f53 100644
--- a/src/gallium/targets/d3dadapter9/meson.build
+++ b/src/gallium/targets/d3dadapter9/meson.build
@@ -72,4 +72,5 @@ pkg.generate(
   description : 'Native D3D driver modules',
   version : '.'.join(nine_version),
   requires_private : 'libdrm >= 2.4.75',
+  variables : ['moduledir=${prefix}/@0@'.format(d3d_drivers_path)],
 )
-- 
2.16.2



More information about the mesa-dev mailing list