iconv: fix build for mips-linux

wip/yesman
Alexey Shmalko 8 years ago
parent 5c738ec37e
commit b1e4ed38dd
No known key found for this signature in database
GPG Key ID: DCEF7BCCEB3066C3
  1. 2
      pkgs/development/libraries/libiconv/default.nix

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
];
postPatch =
lib.optionalString (stdenv.cross.libc or null == "msvcrt")
lib.optionalString ((stdenv ? cross && stdenv.cross.libc == "msvcrt") || stdenv.cc.nativeLibc)
''
sed '/^_GL_WARN_ON_USE (gets/d' -i srclib/stdio.in.h
'';

Loading…
Cancel
Save