Fixing the openssl 1.0.0 cross build

svn path=/nixpkgs/trunk/; revision=22910
This commit is contained in:
Lluís Batlle i Rossell 2010-08-02 22:10:42 +00:00
parent aadea685af
commit 4b42d5f7a9
1 changed files with 3 additions and 7 deletions

View File

@ -27,14 +27,10 @@ stdenv.mkDerivation rec {
crossAttrs = { crossAttrs = {
preConfigure='' preConfigure=''
export cross=$crossSystem- # It's configure does not like --build or --host
''; export configureFlags="--libdir=lib --cross-compile-prefix=${stdenv.cross.config}- shared ${opensslCrossSystem}"
configureFlags="--libdir=lib ${opensslCrossSystem} shared";
buildPhase = ''
make CC=$crossConfig-gcc \
AR="$crossConfig-ar r" \
RANLIB=$crossConfig-ranlib
''; '';
configureScript = "./Configure";
}; };
meta = { meta = {