@@ -1,5 +1,5 @@
11{ stdenv, fetchurl, binutils, popt, zlib, pkgconfig, linuxHeaders
2−, withGUI ? false , qt4 ? null}:
2+, libiberty_static, withGUI ? false , qt4 ? null}:
33
44# libX11 is needed because the Qt build stuff automatically adds `-lX11'.
55assert withGUI -> qt4 != null;
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212 sha256 = "0v1nn38h227bgxjwqf22rjp2iqgjm4ls3gckzifks0x6w5nrlxfg";
1313 };
1414
15− buildInputs = [ binutils zlib popt pkgconfig linuxHeaders ]
15+ buildInputs = [ binutils zlib popt pkgconfig linuxHeaders libiberty_static ]
1616 ++ stdenv.lib.optionals withGUI [ qt4 ];
1717
1818 configureFlags = [