summaryrefslogtreecommitdiffstats
path: root/Configure
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-10-07 16:41:33 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-10-07 16:41:33 +0000
commit53480a673b856c7e87bd75e4cd7870da4ac63662 (patch)
tree852f6d25d944572938fba24dc15318646f317c06 /Configure
parentad187f89053549cf3fe481ded227e61984fb0b61 (diff)
Allow cross compilation prefix to come from CROSS_COMPILE environment variable
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/Configure b/Configure
index 1dec089c6c..d2f2cc52d6 100755
--- 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 =~ /.\/$/;