meson: Add moduledir to d3d.pc
authorDylan Baker <dylan@pnwbakers.com>
Fri, 9 Mar 2018 16:27:31 +0000 (08:27 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Mon, 12 Mar 2018 20:52:38 +0000 (13:52 -0700)
This is required to build wine with the nine patchset

Fixes: 6b4c7047d57178d3362a710ad503057c6a582ca3
       ("meson: build gallium nine state_tracker")
Reported-by: Mike Lothian <mike@fireburn.co.uk>
Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/gallium/targets/d3dadapter9/meson.build

index fd608be9bf6c48d3b41c185609f329c17bd80c33..e3f4ae58f535884b088e281e532c77da5cc0bac0 100644 (file)
@@ -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)],
 )