Fixing the openssl 1.0.0 cross build
svn path=/nixpkgs/trunk/; revision=22910
This commit is contained in:
parent
aadea685af
commit
4b42d5f7a9
@ -27,14 +27,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
crossAttrs = {
|
||||
preConfigure=''
|
||||
export cross=$crossSystem-
|
||||
'';
|
||||
configureFlags="--libdir=lib ${opensslCrossSystem} shared";
|
||||
buildPhase = ''
|
||||
make CC=$crossConfig-gcc \
|
||||
AR="$crossConfig-ar r" \
|
||||
RANLIB=$crossConfig-ranlib
|
||||
# It's configure does not like --build or --host
|
||||
export configureFlags="--libdir=lib --cross-compile-prefix=${stdenv.cross.config}- shared ${opensslCrossSystem}"
|
||||
'';
|
||||
configureScript = "./Configure";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user