AIX.pm 785 B

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