[igt-dev] [PATCH i-g-t v1] meson: missed dependency of liblzma

Sergii Romantsov
2019-02-25T13:23:25Z

Failed to configure intel-gpu-tools with error:

meson.build:151:0: ERROR: Could not generate cargs for libdw:

libdw depends on liblzma.
Installation of liblzma-dev fixes issue.

Fixes: e39e09910fc8 (lib/core: Use libdw to decode stack trace with debugging symbols, v2.)
CC: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Sergii Romantsov <sergii.romantsov@globallogic.com>
---
meson.build | 1 +
1 file changed, 1 insertion(+)

diff --git a/meson.build b/meson.build
index 099db89..4c58ca8 100644
--- a/meson.build
+++ b/meson.build
@@ -148,6 +148,7 @@ if with_libunwind != 'false'
endif
build_info += 'With libunwind: ' + libunwindinfo

+liblzma = dependency('liblzma', required : true)
libdw = dependency('libdw', required : true)
pixman = dependency('pixman-1', required : true)

--
2.7.4