radare2: drop unused useFlag and fix cross compilation
Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
This commit is contained in:
parent
3d16a81bad
commit
62314d2169
1 changed files with 3 additions and 3 deletions
|
@ -25,7 +25,6 @@
|
|||
, capstone
|
||||
, useX11 ? false
|
||||
, rubyBindings ? false
|
||||
, pythonBindings ? true
|
||||
, luaBindings ? false
|
||||
}:
|
||||
|
||||
|
@ -81,7 +80,9 @@ stdenv.mkDerivation rec {
|
|||
enableParallelBuilding = true;
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config meson ninja ];
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [ pkg-config meson ninja python3 ];
|
||||
buildInputs = [
|
||||
capstone
|
||||
file
|
||||
|
@ -92,7 +93,6 @@ stdenv.mkDerivation rec {
|
|||
zlib
|
||||
openssl
|
||||
libuv
|
||||
python3
|
||||
lz4
|
||||
] ++ lib.optionals useX11 [ gtkdialog vte gtk2 ]
|
||||
++ lib.optionals rubyBindings [ ruby ]
|
||||
|
|
Loading…
Reference in a new issue