3
0
Fork 0
forked from mirrors/nixpkgs

openssl/cross: Fix build for Darwin.

This is just a minor fix, because when using "darwin64-x86_64-cc" for
config.openssl.system, the OpenSSL build scripts try to compile with
$prefix-cc, which is not available with the gcc-cross-wrapper.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2014-03-10 22:27:54 +01:00
parent 3d73bf6c57
commit 30962765e0
No known key found for this signature in database
GPG key ID: D0EBD0EC8C2DC961

View file

@ -91,6 +91,8 @@ stdenv.mkDerivation {
rm $out/bin/c_rehash $out/ssl/misc/CA.pl $out/ssl/misc/tsget
'';
configureScript = "./Configure";
} // stdenv.lib.optionalAttrs (opensslCrossSystem == "darwin64-x86_64-cc") {
CC = "gcc";
};
meta = {