From abe5ab88c14dd4ed6b0be4a92901e76892665dc1 Mon Sep 17 00:00:00 2001 From: Anton Kochkov Date: Sun, 24 Nov 2024 21:32:07 +0800 Subject: [PATCH] librz/arch/alpha: build only for Capstone > 5 --- librz/arch/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/librz/arch/meson.build b/librz/arch/meson.build index f4471ffe9e2..ad531c23411 100644 --- a/librz/arch/meson.build +++ b/librz/arch/meson.build @@ -6,7 +6,6 @@ subdir('platforms') arch_plugins_list = [ '6502', '8051', - 'alpha_cs', 'amd29k', 'arm_as', 'arm_cs', @@ -64,7 +63,6 @@ arch_plugins_list = [ arch_plugin_sources = [ 'p/arch_6502.c', 'p/arch_8051.c', - 'p/arch_alpha.c', 'p/arch_amd29k.c', 'p/arch_arm_as.c', 'p/arch_arm_cs.c', @@ -326,11 +324,13 @@ endif if capstone_dep.version() == 'next' # plugins arch_plugins_list += [ + 'alpha_cs', 'xtensa_cs', ] # plugins sources arch_plugin_sources += [ + 'p/arch_alpha.c', 'p/arch_xtensa_cs.c', ]