From: Paolo Bonzini Date: Mon, 8 Apr 2024 15:53:13 +0000 (+0200) Subject: meson: do not link pixman automatically into all targets X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6190fd61d4d632cef58409ceac42d2b9882601c6;p=qemu.git meson: do not link pixman automatically into all targets The dependency on pixman is listed manually in all sourcesets that need it. There is no need to bring into libqemuutil, since there is nothing in util/ that needs pixman either. Reported-by: Michael Tokarev Signed-off-by: Paolo Bonzini Reviewed-by: Richard Henderson Message-ID: <20240408155330.522792-2-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini --- diff --git a/meson.build b/meson.build index 91a0aa64c6..8c1271b884 100644 --- a/meson.build +++ b/meson.build @@ -3481,7 +3481,7 @@ util_ss = util_ss.apply({}) libqemuutil = static_library('qemuutil', build_by_default: false, sources: util_ss.sources() + stub_ss.sources() + genh, - dependencies: [util_ss.dependencies(), libm, threads, glib, socket, malloc, pixman]) + dependencies: [util_ss.dependencies(), libm, threads, glib, socket, malloc]) qemuutil = declare_dependency(link_with: libqemuutil, sources: genh + version_res, dependencies: [event_loop_base])