forked from mirrors/nixpkgs
Fixed compilation for GLib on FreeBSD
svn path=/nixpkgs/branches/stdenv-updates/; revision=19790
This commit is contained in:
parent
a617a7c239
commit
d26683f5a9
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, pkgconfig, gettext, perl }:
|
||||
{ stdenv, fetchurl, pkgconfig, gettext, perl, libiconv ? null}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "glib-2.22.4";
|
||||
|
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "055dv2hymbyzwpcd39r97x747vsvlkyywa826zr75dzambw6n7qd";
|
||||
};
|
||||
|
||||
buildInputs = [pkgconfig gettext perl];
|
||||
buildInputs = [pkgconfig gettext perl libiconv];
|
||||
|
||||
# The nbd package depends on a static version of this library; hence
|
||||
# the default configure flag --disable-static is switched off.
|
||||
|
|
|
@ -3849,6 +3849,7 @@ let
|
|||
|
||||
glib = import ../development/libraries/glib/2.22.x.nix {
|
||||
inherit fetchurl stdenv pkgconfig gettext perl;
|
||||
libiconv = if (stdenv.system == "i686-freebsd") then libiconv else null;
|
||||
};
|
||||
|
||||
glibmm = import ../development/libraries/glibmm/2.22.x.nix {
|
||||
|
|
Loading…
Reference in a new issue