Commit f99f41cf authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Allow cross compilation prefix to come from CROSS_COMPILE environment variable

parent b34d449c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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 =~ /.\/$/;