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

index 1dec089c6c338c1e16fc93baa5370a3f002d6c00..d2f2cc52d60149876fdadd39e3078321abfd9db1 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 =~ /.\/$/;