aboutsummaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-02-27 21:01:59 +0100
committerRichard Levitte <levitte@openssl.org>2018-02-27 21:17:57 +0100
commitb700bc59669939a9285255293e1bb70a5a35f736 (patch)
treed4c0ee9544a84739a57519b0ea18ba799dfd019f /Configure
parentd070b4ae78a1280c5cb6b88df75bcbfbcef6a8f1 (diff)
downloadopenssl-b700bc59669939a9285255293e1bb70a5a35f736.zip
openssl-b700bc59669939a9285255293e1bb70a5a35f736.tar.gz
openssl-b700bc59669939a9285255293e1bb70a5a35f736.tar.bz2
configdata.pm: ensure $prefix is defined
Fixes #5471 Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5472)
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/Configure b/Configure
index 3c40a0e..d78066b 100755
--- a/Configure
+++ b/Configure
@@ -2444,6 +2444,7 @@ _____
my $prefix = '';
$prefix = $config{cross_compile_prefix}
if grep { $var eq $_ } @user_crossable;
+ $prefix //= '';
print ' ',$var,' ' x (16 - length $var),'= ',
(ref $config{$makevars{$var}} eq 'ARRAY'
? join(' ', @{$config{$makevars{$var}}})