summary refs log tree commit diff
path: root/pkgs/development/libraries/zlib/default.nix
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-04-22 21:44:33 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-04-22 21:44:33 +0000
commit6f2fac6466cbc684f01093364e60bb96b79c120f (patch)
tree2b0ee90e26a0d6ed8a081351299a66daf35ef9f9 /pkgs/development/libraries/zlib/default.nix
parent6d62947d71342aa29441a720d4eeb2f003126c76 (diff)
parent93d2b4b7bfe5c78e36c93f94a0c057cde04b580f (diff)
downloadnixpkgs-6f2fac6466cbc684f01093364e60bb96b79c120f.tar
nixpkgs-6f2fac6466cbc684f01093364e60bb96b79c120f.tar.gz
nixpkgs-6f2fac6466cbc684f01093364e60bb96b79c120f.tar.bz2
nixpkgs-6f2fac6466cbc684f01093364e60bb96b79c120f.tar.lz
nixpkgs-6f2fac6466cbc684f01093364e60bb96b79c120f.tar.xz
nixpkgs-6f2fac6466cbc684f01093364e60bb96b79c120f.tar.zst
nixpkgs-6f2fac6466cbc684f01093364e60bb96b79c120f.zip
Merging from trunk.
I hope I resolved the conflicts well (gmp and gccCross)


svn path=/nixpkgs/branches/stdenv-updates/; revision=21251
Diffstat (limited to 'pkgs/development/libraries/zlib/default.nix')
-rw-r--r--pkgs/development/libraries/zlib/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/libraries/zlib/default.nix b/pkgs/development/libraries/zlib/default.nix
index b4ae9e63ea0..95c891e9bc7 100644
--- a/pkgs/development/libraries/zlib/default.nix
+++ b/pkgs/development/libraries/zlib/default.nix
@@ -15,6 +15,10 @@ stdenv.mkDerivation {
     fi
   '';
 
+  crossAttrs = {
+    dontStrip = if static then true else false;
+  };
+
   # zlib doesn't like the automatic --disable-shared from the Cygwin stdenv.
   cygwinConfigureEnableShared = true;
 }