Allow cross compilation prefix to come from CROSS_COMPILE environment variable
authorDr. Stephen Henson <steve@openssl.org>
Wed, 7 Oct 2009 16:41:14 +0000 (16:41 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 7 Oct 2009 16:41:14 +0000 (16:41 +0000)
Configure

index 5cac797..8d48869 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -1047,6 +1047,8 @@ $default_ranlib= &which("ranlib") or $default_ranlib="true";
 $perl=$ENV{'PERL'} or $perl=&which("perl5") or $perl=&which("perl")
   or $perl="perl";
 
+$cross_compile_prefix=$ENV{'CROSS_COMPILE'};
+
 chop $openssldir if $openssldir =~ /\/$/;
 chop $prefix if $prefix =~ /.\/$/;