summary refs log tree commit diff
path: root/pkgs/development/libraries/mesa/opencl-install-dir.patch
blob: fe85d2c90bb24a8f5ad6c24cdc874e43aa108610 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/gallium/targets/opencl/meson.build b/src/gallium/targets/opencl/meson.build
index 317ad8dab4a..5567308caf0 100644
--- a/src/gallium/targets/opencl/meson.build
+++ b/src/gallium/targets/opencl/meson.build
@@ -68,6 +68,6 @@ if with_opencl_icd
     input : 'mesa.icd.in',
     output : 'mesa.icd',
     install : true,
-    install_dir : join_paths(get_option('sysconfdir'), 'OpenCL', 'vendors'),
+    install_dir : join_paths(get_option('prefix'), 'etc', 'OpenCL', 'vendors'),
   )
 endif