rizin: add binutils dependency

This commit is contained in:
bpavuk
2025-11-19 18:02:38 +02:00
parent 8107214238
commit 0fd203ae37
@@ -24,6 +24,7 @@
capstone,
tree-sitter,
zstd,
binutils,
}:
let
@@ -107,6 +108,7 @@ let
xxHash
xz
zstd
binutils
];
postPatch = ''
@@ -115,6 +117,11 @@ let
# https://github.com/mesonbuild/meson/pull/9904
substituteInPlace meson.build \
--replace "import('python').find_installation()" "find_program('python3')"
substituteInPlace \
librz/arch/p/asm/asm_x86_as.c \
librz/arch/p/asm/asm_ppc_as.c \
--replace '"as"' '"${binutils}/bin/as"'
'';
passthru = rec {