forked from mirrors/nixpkgs
libunistring: Make libiconv a propagated input when cross-building for MinGW.
svn path=/nixpkgs/trunk/; revision=27577
This commit is contained in:
parent
b2ec2c245a
commit
fef7d9197e
|
@ -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 .
|
||||
|
|
Loading…
Reference in a new issue