mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 09:30:13 +01:00
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 <rafael.antognolli@intel.com> Cc: Dylan Baker <dylan@pnwbakers.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
This commit is contained in:
parent
bc17ac5866
commit
306914db92
1 changed files with 1 additions and 0 deletions
|
|
@ -58,6 +58,7 @@ if dri_drivers != []
|
||||||
filebase : 'dri',
|
filebase : 'dri',
|
||||||
description : 'Direct Rendering Infrastructure',
|
description : 'Direct Rendering Infrastructure',
|
||||||
version : meson.project_version(),
|
version : meson.project_version(),
|
||||||
|
variables : ['dridriverdir=${prefix}/' + dri_drivers_path],
|
||||||
requires_private : ['libdrm >= 2.4.75'], # FIXME: don't hardcode this
|
requires_private : ['libdrm >= 2.4.75'], # FIXME: don't hardcode this
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue