summary refs log tree commit diff
path: root/pkgs/development/libraries/zlib
diff options
context:
space:
mode:
authorFlorian Friesdorf <flo@chaoflow.net>2014-10-24 02:35:07 +0200
committerRok Garbas <rok@garbas.si>2015-05-28 10:53:36 +0200
commitd2da94cc0bd8555b99bc54e2654208b5eeb54d94 (patch)
tree9e717eb0dd326d8fd6f8ad5c7dff3996c271defe /pkgs/development/libraries/zlib
parentaf5484a630c65564c27e31eb658ded80a7751808 (diff)
cygwin: zlib - we do not --disable-shared
Diffstat (limited to 'pkgs/development/libraries/zlib')
-rw-r--r--pkgs/development/libraries/zlib/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/zlib/default.nix b/pkgs/development/libraries/zlib/default.nix
index 162bae54d377d..419a2584ca842 100644
--- a/pkgs/development/libraries/zlib/default.nix
+++ b/pkgs/development/libraries/zlib/default.nix
@@ -40,8 +40,8 @@ stdenv.mkDerivation (rec {
     makeFlags = [ "RANLIB=${stdenv.cross.config}-ranlib" ];
   };
 
-  # zlib doesn't like the automatic --disable-shared from the Cygwin stdenv.
-  cygwinConfigureEnableShared = true;
+  # CYGXXX: This is not needed anymore and non-functional, but left not to trigger rebuilds
+  cygwinConfigureEnableShared = if (!stdenv.isCygwin) then true else null;
 
   passthru.version = version;