OProfile: Add dependency on zlib.
svn path=/nixpkgs/branches/stdenv-updates/; revision=24925
This commit is contained in:
parent
ab419e9f86
commit
0d122e7c6f
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, binutils, popt, makeWrapper, gawk, which, gnugrep
|
{ stdenv, fetchurl, binutils, popt, makeWrapper, gawk, which, gnugrep, zlib
|
||||||
, qt ? null, libX11 ? null, libXext ? null, libpng ? null }:
|
, qt ? null, libX11 ? null, libXext ? null, libpng ? null }:
|
||||||
|
|
||||||
# libX11 is needed because the Qt build stuff automatically adds `-lX11'.
|
# libX11 is needed because the Qt build stuff automatically adds `-lX11'.
|
||||||
|
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||||
s|^PATH=.*$||g"
|
s|^PATH=.*$||g"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ binutils popt makeWrapper gawk which gnugrep ]
|
buildInputs = [ binutils zlib popt makeWrapper gawk which gnugrep ]
|
||||||
++ stdenv.lib.optionals (qt != null) [ qt libX11 libXext libpng ];
|
++ stdenv.lib.optionals (qt != null) [ qt libX11 libXext libpng ];
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
|
|
|
@ -2507,7 +2507,7 @@ let
|
||||||
openocd = callPackage ../development/tools/misc/openocd { };
|
openocd = callPackage ../development/tools/misc/openocd { };
|
||||||
|
|
||||||
oprofile = import ../development/tools/profiling/oprofile {
|
oprofile = import ../development/tools/profiling/oprofile {
|
||||||
inherit fetchurl stdenv binutils popt makeWrapper gawk which gnugrep;
|
inherit fetchurl stdenv binutils popt makeWrapper gawk which gnugrep zlib;
|
||||||
|
|
||||||
# Optional build inputs for the (useless) GUI.
|
# Optional build inputs for the (useless) GUI.
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue