Build: change remaining $unified_info{install} checks to use attributes
[openssl.git] / Configurations / platform / Windows.pm
index 3e13f6e86fe7a815e3f1d1e9089a619a9b9f1d4f..d1932a9200554bd58e3c42e7e5282b2aa1b28e42 100644 (file)
@@ -30,9 +30,7 @@ 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
-        unless ( grep { platform::BASE->staticname($_) eq $in_libname }
-                 @{$unified_info{install}->{libraries}} );
+    return $in_libname if $unified_info{attributes}->{$_[1]}->{noinst};
 
     # To make sure not to clash with an import library, we make the static
     # variant of our installed libraries get '_static' added to their names.