libiconvOrNull: Fix libc check.

This commit is contained in:
Ludovic Courtès 2012-08-21 16:58:55 +02:00
parent 11602dad82
commit 45ce8c915d

View File

@ -4146,7 +4146,10 @@ let
libiconvOrEmpty = if (libiconvOrNull == null) then [] else libiconv;
libiconvOrNull = if ((gcc ? libc) || stdenv.isGlibc) then null else libiconv;
libiconvOrNull =
if ((gcc ? libc && (gcc.libc != null)) || stdenv.isGlibc)
then null
else libiconv;
libiconvOrLibc = if (libiconvOrNull == null) then gcc.libc else libiconv;