c6f0e8d25105b0429c80109172200ece95dd8400
[openssl.git] / Configurations / platform / AIX.pm
1 package platform::AIX;
2
3 use strict;
4 use warnings;
5 use Carp;
6
7 use vars qw(@ISA);
8
9 require platform::Unix;
10 @ISA = qw(platform::Unix);
11
12 # Assume someone set @INC right before loading this module
13 use configdata;
14
15 sub dsoext              { '.so' }
16 sub shlibextsimple      { '.a' }
17
18 # In shared mode, the default static library names clashes with the final
19 # "simple" full shared library name, so we add '_a' to the basename of the
20 # static libraries in that case.
21 sub staticname {
22     # Non-installed libraries are *always* static, and their names remain
23     # the same, except for the mandatory extension
24     my $in_libname = platform::BASE->staticname($_[1]);
25     return $in_libname if $unified_info{attributes}->{$_[1]}->{noinst};
26
27     return platform::BASE->staticname($_[1]) . '_a';
28 }