[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 03/11] capstone: Require version 4.0 from a system library
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v4 03/11] capstone: Require version 4.0 from a system library |
Date: |
Tue, 22 Sep 2020 12:33:29 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
On 9/21/20 7:41 PM, Richard Henderson wrote:
> We're about to use a portion of the 4.0 API.
> Reject a system library version prior to that.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> meson.build | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meson.build b/meson.build
> index 4c92b43fe5..114b136129 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -613,7 +613,7 @@ if capstone_opt == 'no'
> capstone_opt = false
> elif capstone_opt in ['yes', 'auto', 'system']
> have_internal = fs.exists('capstone/Makefile')
> - capstone = dependency('capstone', static: enable_static,
> + capstone = dependency('capstone', version: '>=4.0', static: enable_static,
> required: capstone_opt == 'system' or
> capstone_opt == 'yes' and not
> have_internal)
> if capstone.found()
>
- [PATCH v4 00/11] capstone + disassembler patches, Richard Henderson, 2020/09/21
- [PATCH v4 02/11] capstone: Update to upstream "next" branch, Richard Henderson, 2020/09/21
- [PATCH v4 03/11] capstone: Require version 4.0 from a system library, Richard Henderson, 2020/09/21
- [PATCH v4 01/11] capstone: Convert Makefile bits to meson bits, Richard Henderson, 2020/09/21
- [PATCH v4 05/11] disas: Clean up CPUDebug initialization, Richard Henderson, 2020/09/21
- [PATCH v4 08/11] disas: Configure capstone for aarch64 host without libvixl, Richard Henderson, 2020/09/21
- [PATCH v4 07/11] disas: Cleanup plugin_disas, Richard Henderson, 2020/09/21
- [PATCH v4 06/11] disas: Use qemu/bswap.h for bfd endian loads, Richard Henderson, 2020/09/21