From 9c448ea79ebb0899dc18746fa7f31e19803c4d88 Mon Sep 17 00:00:00 2001 From: Petri Latvala Date: Mon, 22 Jan 2018 15:04:07 +0200 Subject: 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 Cc: Arkadiusz Hiler Reviewed-by: Arkadiusz Hiler --- tools/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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) -- cgit v1.2.3