summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPetri Latvala <petri.latvala@intel.com>2018-01-22 15:04:07 +0200
committerPetri Latvala <petri.latvala@intel.com>2018-01-25 11:56:35 +0200
commit9c448ea79ebb0899dc18746fa7f31e19803c4d88 (patch)
tree1109f232894024a8ab4e8c7076119f5e983eb54b /tools
parentec7d71660694157af698741eac3764203bf338ec (diff)
meson: Use absolute path for IGT_DATADIR
IGT_DATADIR needs to be an absolute path instead of relative to prefix or data files can only be found if cwd is exactly prefix. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104723 Signed-off-by: Petri Latvala <petri.latvala@intel.com> Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/meson.build b/tools/meson.build
index acd9242d..a96735c2 100644
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -76,7 +76,7 @@ executable('intel_reg', sources : intel_reg_src,
dependencies : tool_deps,
install : true,
c_args : [
- '-DIGT_DATADIR="@0@"'.format(datadir),
+ '-DIGT_DATADIR="@0@"'.format(join_paths(prefix, datadir)),
])
install_data('intel_gpu_abrt', install_dir : bindir)