Fix one part of cross-Linux-PAM failure...
svn path=/nixpkgs/trunk/; revision=30237
This commit is contained in:
parent
c95d373b68
commit
bcfa6a78e8
@ -17,6 +17,10 @@ stdenv.mkDerivation {
|
|||||||
crossAttrs = {
|
crossAttrs = {
|
||||||
# Skip libxcrypt cross-building, as it fails for mips and armv5tel
|
# Skip libxcrypt cross-building, as it fails for mips and armv5tel
|
||||||
propagatedBuildInputs = [ flex.hostDrv cracklib.hostDrv ];
|
propagatedBuildInputs = [ flex.hostDrv cracklib.hostDrv ];
|
||||||
|
preConfigure = ''
|
||||||
|
ar x ${flex.hostDrv}/lib/libfl.a
|
||||||
|
export LDFLAGS="$LDFLAGS $PWD/libyywrap.o"
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user