qemu-afl: various cleanups

This commit is contained in:
Jörg Thalheim 2019-01-05 17:01:50 +01:00
parent 5a09820a13
commit 5da3d039d4
No known key found for this signature in database
GPG key ID: CA4106B8D7CC79FA

View file

@ -36,12 +36,14 @@ stdenv.mkDerivation rec {
--replace "../patches/afl-qemu-cpu-inl.h" "afl-qemu-cpu-inl.h"
'';
buildInputs =
[ python2 zlib pkgconfig glib pixman ncurses perl attr libcap
vde2 texinfo libuuid flex bison lzo snappy autoconf
libcap_ng gnutls
]
++ optionals (hasSuffix "linux" stdenv.hostPlatform.system) [ libaio ];
nativeBuildInputs = [
python2 perl pkgconfig flex bison autoconf texinfo
];
buildInputs = [
zlib glib pixman ncurses attr libcap
vde2 libuuid lzo snappy libcap_ng gnutls
] ++ optionals (stdenv.isLinux) [ libaio ];
enableParallelBuilding = true;