1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00

libunistring: Make libiconv a propagated input when cross-building for MinGW.

svn path=/nixpkgs/trunk/; revision=27577
This commit is contained in:
Ludovic Courtès 2011-07-01 15:51:55 +00:00
parent b2ec2c245a
commit fef7d9197e

View file

@ -9,7 +9,10 @@ stdenv.mkDerivation (rec {
};
propagatedBuildInputs =
stdenv.lib.optional (! (stdenv ? glibc)) libiconv;
stdenv.lib.optional ((! (stdenv ? glibc))
|| (stdenv ? cross &&
stdenv.cross.config == "i686-pc-mingw32"))
libiconv;
# XXX: There are test failures on non-GNU systems, see
# http://lists.gnu.org/archive/html/bug-libunistring/2010-02/msg00004.html .