diff options
author | Petri Latvala <petri.latvala@intel.com> | 2018-01-22 15:04:07 +0200 |
---|---|---|
committer | Petri Latvala <petri.latvala@intel.com> | 2018-01-25 11:56:35 +0200 |
commit | 9c448ea79ebb0899dc18746fa7f31e19803c4d88 (patch) | |
tree | 1109f232894024a8ab4e8c7076119f5e983eb54b /tools/meson.build | |
parent | ec7d71660694157af698741eac3764203bf338ec (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/meson.build')
-rw-r--r-- | tools/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/meson.build b/tools/meson.build index acd9242db..a96735c22 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) |