From: Richard Levitte Date: Mon, 17 May 2021 13:13:41 +0000 (+0200) Subject: Fix The VMS variant of platform->staticname() X-Git-Tag: openssl-3.0.0-alpha17~49 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a1181fbdd0df70109c04283c564718b6f8d6ec18;p=thirdparty%2Fopenssl.git Fix The VMS variant of platform->staticname() It was looking in the wrong place in %unified_info to determine if the library would be installed or not. Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/15317) --- diff --git a/Configurations/platform/VMS.pm b/Configurations/platform/VMS.pm index 7aeb20bb3bb..7d7835afeab 100644 --- a/Configurations/platform/VMS.pm +++ b/Configurations/platform/VMS.pm @@ -39,7 +39,8 @@ sub staticname { # Non-installed libraries are *always* static, and their names remain # the same, except for the mandatory extension my $in_libname = platform::BASE->staticname($_[1]); - return $in_libname if $unified_info{attributes}->{$_[1]}->{noinst}; + return $in_libname + if $unified_info{attributes}->{libraries}->{$_[1]}->{noinst}; return platform::BASE::__concat($_[0]->osslprefix(), platform::BASE->staticname($_[1]),