Re: [Qemu-devel] [PATCH] configure: only link capstone to emulation targets

2019-05-16 Thread Richard Henderson
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

[Qemu-devel] [PATCH] configure: only link capstone to emulation targets

2019-05-16 Thread Daniel P . Berrangé
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