Skip to content

Commit

Permalink
libiconv: disable stripping when cross-compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
civodul committed Mar 29, 2013
1 parent ea30476 commit e80ec28
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/development/libraries/libiconv/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ stdenv.mkDerivation rec {
# will actually use.
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 = {
description = "GNU libiconv, an iconv(3) implementation";

Expand Down

0 comments on commit e80ec28

Please sign in to comment.