Re: [PATCH v2 1/3] Makefile: Compute libraries for libqemuutil.a and libvhost-user.a

2020-06-30 Thread Stefan Hajnoczi
On Fri, Jun 26, 2020 at 06:27:04PM +0200, Christophe de Dinechin wrote: > In util/Makefile.objs, there is a setting for dbus.o-libs. > Trying to copy-paste that to add a library for module.o that was was > not otherwise linked yields link errors on a number of binaries, > e.g. qemu-ga, with unsatis

[PATCH v2 1/3] Makefile: Compute libraries for libqemuutil.a and libvhost-user.a

2020-06-26 Thread Christophe de Dinechin
In util/Makefile.objs, there is a setting for dbus.o-libs. Trying to copy-paste that to add a library for module.o that was was not otherwise linked yields link errors on a number of binaries, e.g. qemu-ga, with unsatisfied symbols in libqemuutil.a(module.o). The reason is that library dependencies