[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] configure: only link capstone to emulation targ
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH] configure: only link capstone to emulation targets |
Date: |
Thu, 16 May 2019 08:51:10 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
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é <address@hidden>
> ---
> Makefile.target | 1 +
> configure | 6 ++++--
> 2 files changed, 5 insertions(+), 2 deletions(-)
Reviewed-by: Richard Henderson <address@hidden>
r~