summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorSergii Romantsov <[email protected]>2019-02-21 10:28:11 +0200
committerDylan Baker <[email protected]>2019-02-25 13:26:36 -0800
commit697c6c5a19311a4a8a8653edeae4b0e1ae64ceba (patch)
treeff44facdca7e2120470ad932321ddab346ef179b /src/mesa/drivers
parentedeb13b550b64866917f5b1fa3e3e63de285ccd9 (diff)
dri: meson: do not prefix user provided dri-drivers-path
The user can select the location where there dri drivers are installed by the dri-drivers-path meson option. By default path will be $prefix/$libdir/dri. Currently we add $prefix to the user provided path. Resulting in an incorrect or even missing path. v2: fixed dri_search_path by default, rebased to master v3: new commit-message (Emil Velikov), cc mesa-stable Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109698 CC: Rafael Antognolli <[email protected]> CC: Dylan Baker <[email protected]> Cc: 18.3 19.0 <[email protected]> Fixes: 306914db92e1 (meson: Add dridriverdir variable to dri.pc.) Signed-off-by: Sergii Romantsov <[email protected]> Reviewed-by: Emil Velikov <[email protected]> (cherry picked from commit f6556ec7d126b31da37c08d7cb657250505e01a0)
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/meson.build b/src/mesa/drivers/dri/meson.build
index d98c823f5fe..0410a5a12ec 100644
--- a/src/mesa/drivers/dri/meson.build
+++ b/src/mesa/drivers/dri/meson.build
@@ -78,7 +78,7 @@ if with_dri
filebase : 'dri',
description : 'Direct Rendering Infrastructure',
version : meson.project_version(),
- variables : ['dridriverdir=${prefix}/' + dri_drivers_path],
+ variables : ['dridriverdir=' + dri_drivers_path],
requires_private : dri_req_private,
)
endif