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 = {
|
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 = {
|
||||||
|
|
Loading…
Reference in New Issue