Fix one part of cross-Linux-PAM failure...

svn path=/nixpkgs/trunk/; revision=30237
This commit is contained in:
Michael Raskin 2011-11-04 21:11:43 +00:00
parent c95d373b68
commit bcfa6a78e8

View file

@ -17,6 +17,10 @@ stdenv.mkDerivation {
crossAttrs = {
# Skip libxcrypt cross-building, as it fails for mips and armv5tel
propagatedBuildInputs = [ flex.hostDrv cracklib.hostDrv ];
preConfigure = ''
ar x ${flex.hostDrv}/lib/libfl.a
export LDFLAGS="$LDFLAGS $PWD/libyywrap.o"
'';
};
postInstall = ''