libiconv: disable stripping when cross-compiling

This commit is contained in:
Ludovic Courtès 2013-03-29 21:46:00 +01:00
parent ea304762fe
commit e80ec28da1

View File

@ -14,6 +14,12 @@ stdenv.mkDerivation rec {
# will actually use. # will actually use.
configureFlags = stdenv.lib.optional stdenv.isCygwin [ "--enable-static" ]; configureFlags = stdenv.lib.optional stdenv.isCygwin [ "--enable-static" ];
crossAttrs = {
# Disable stripping to avoid "libiconv.a: Archive has no index" (MinGW).
dontStrip = true;
dontCrossStrip = true;
};
meta = { meta = {
description = "GNU libiconv, an iconv(3) implementation"; description = "GNU libiconv, an iconv(3) implementation";