From 1bb318b32db003a377da14715c7b80675a712b6b Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Sun, 6 May 2018 23:10:35 +0100 Subject: lib: create new dependency for aubdump While trying to capture an aubdump on a libva demo, I run into a crash in intel_batchbuffer.c. Turn out every driver has it's own intel_batchbuffer.c with similar symbols and because aubdump pulls in libigt, things go wrong. One could argue that there is something wrong with intel-vaapi-driver's build but I also think aubdump should embed as little as possible. This change creates a very small library that embeds just the needed bits of igt for aubdump. Signed-off-by: Lionel Landwerlin Reviewed-by: Katarzyna Dec --- 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 bd2d313d..789219d0 100644 --- a/tools/meson.build +++ b/tools/meson.build @@ -113,7 +113,7 @@ install_subdir('registers', install_dir : datadir, ]) shared_library('intel_aubdump', 'aubdump.c', - dependencies : [ igt_deps, dlsym ], + dependencies : [ lib_igt_chipset, dlsym ], name_prefix : '', install : true) -- cgit v1.2.3