bbswitch: add libelf to buildInputs

Signed-off-by: Christoph Hrdinka <c.github@hrdinka.at>
This commit is contained in:
Christoph Hrdinka 2017-12-28 13:16:52 +01:00
parent d1bfa7ee08
commit a3c45b383d
No known key found for this signature in database
GPG key ID: 39391E2F20458287

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchpatch, kernel }:
{ stdenv, fetchurl, fetchpatch, kernel, libelf }:
let
baseName = "bbswitch";
@ -20,6 +20,8 @@ stdenv.mkDerivation {
sha256 = "1lbr6pyyby4k9rn2ry5qc38kc738d0442jhhq57vmdjb6hxjya7m";
}) ];
buildInputs = [ libelf ];
hardeningDisable = [ "pic" ];
preBuild = ''