aboutsummaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-10-07 16:41:14 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-10-07 16:41:14 +0000
commitf99f41cf5cdca30e8c1559194e96017669f03861 (patch)
tree55a92eadb45eeebab0d3b369491c61093cbc4153 /Configure
parentb34d449c42679f5f57ccbdc57248c73c2d95044c (diff)
downloadopenssl-f99f41cf5cdca30e8c1559194e96017669f03861.zip
openssl-f99f41cf5cdca30e8c1559194e96017669f03861.tar.gz
openssl-f99f41cf5cdca30e8c1559194e96017669f03861.tar.bz2
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 5cac797..8d48869 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 =~ /.\/$/;