diff options
author | David McFarland <corngood@gmail.com> | 2017-05-23 10:36:41 -0300 |
---|---|---|
committer | David McFarland <corngood@gmail.com> | 2017-06-26 09:33:16 -0300 |
commit | 260afef6679952fd70e9f2a7a41d54e760b21ca5 (patch) | |
tree | 8fceb6ece6f34e198d24b3b5d3915858ed01dfab /pkgs/development/libraries/libiconv/default.nix | |
parent | 84a4ee5c041697fd25d4082a0f94ec1d82406017 (diff) |
libiconv: remove old cygwin hacks
Diffstat (limited to 'pkgs/development/libraries/libiconv/default.nix')
-rw-r--r-- | pkgs/development/libraries/libiconv/default.nix | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/pkgs/development/libraries/libiconv/default.nix b/pkgs/development/libraries/libiconv/default.nix index 4c634de924688..c23fd57e5149c 100644 --- a/pkgs/development/libraries/libiconv/default.nix +++ b/pkgs/development/libraries/libiconv/default.nix @@ -11,11 +11,6 @@ stdenv.mkDerivation rec { sha256 = "0y1ij745r4p48mxq84rax40p10ln7fc7m243p8k8sia519i3dxfc"; }; - patches = lib.optionals stdenv.isCygwin [ - ./libiconv-1.14-reloc.patch - ./libiconv-1.14-wchar.patch - ]; - postPatch = lib.optionalString ((stdenv ? cross && stdenv.cross.libc == "msvcrt") || stdenv.cc.nativeLibc) '' @@ -23,12 +18,7 @@ stdenv.mkDerivation rec { ''; configureFlags = - # On Cygwin, Libtool produces a `.dll.a', which is not a "real" DLL - # (Windows' linker would need to be used somehow to produce an actual - # DLL.) Thus, build the static library too, and this is what Gettext - # will actually use. - lib.optional stdenv.isCygwin "--enable-static" - ++ lib.optional stdenv.isFreeBSD "--with-pic"; + lib.optional stdenv.isFreeBSD "--with-pic"; crossAttrs = { # Disable stripping to avoid "libiconv.a: Archive has no index" (MinGW). |