On 5/16/19 4:39 AM, Daniel P. Berrangé wrote: > Only the emulators link to code that uses capstone, so adding it to the > global LIBs places undesirable dependancies on other binaries, in > particular the tools. > > There is no variable that covers both user emulation and machine > emulation, so add a new "$libs_cpu" for this purpose. > > In particular this removes the 8 MB capstone dep from the things > qemu-img links against, allowing for a more minimal installation > in scenarios that don't want system emulators installed. > > Signed-off-by: Daniel P. Berrangé <berra...@redhat.com> > --- > Makefile.target | 1 + > configure | 6 ++++-- > 2 files changed, 5 insertions(+), 2 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~