Allow cross compilation prefix to come from CROSS_COMPILE environment variable

This commit is contained in:
Dr. Stephen Henson 2009-10-07 16:41:14 +00:00
parent b34d449c42
commit f99f41cf5c

View File

@ -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 =~ /.\/$/;