Making pam_unix2 not link to libxcrypt under armv5tel, because libxcrypt does not build under it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=19824
This commit is contained in:
Lluís Batlle i Rossell 2010-02-04 18:40:54 +00:00
parent a879785099
commit b8c1641515

View File

@ -8,7 +8,7 @@ stdenv.mkDerivation {
sha256 = "067xnyd3q8ik73glxwyx1lydk4bgl78lzq44mnqqp4jrpnpd04ml";
};
buildInputs = [ pam libxcrypt ];
buildInputs = [ pam ] ++ stdenv.lib.optional (stdenv.system != "armv5tel-linux") libxcrypt;
meta = {
homepage = ftp://ftp.suse.com/pub/people/kukuk/pam/pam_unix2;