diff options
author | Rafael Antognolli <[email protected]> | 2017-11-15 09:32:47 -0800 |
---|---|---|
committer | Rafael Antognolli <[email protected]> | 2017-11-16 10:40:26 -0800 |
commit | 306914db92e12d5424493d0ea2c4566b393c58c8 (patch) | |
tree | 683f74ebe985d576264edf0b92b9590de2da1c68 /src/mesa | |
parent | bc17ac58661c2dbbd5fea48d4af628baef434e86 (diff) |
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]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
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 ) |