Skip to content

Commit d07c6dc

Browse files
committed
Always assume that libraries are shared on AIX
As suggested in #344
1 parent fe0ffc1 commit d07c6dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/ExtUtils/Liblist/Kid.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,8 @@ sub _unix_os2_ext {
210210
# Now update library lists
211211

212212
# what do we know about this library...
213-
my $is_dyna = ( $fullname !~ /\Q$Config_libext\E\z/ );
213+
# "Sounds like we should always assume it's a dynamic library on AIX."
214+
my $is_dyna = $^O eq 'aix' ? 1 : ( $fullname !~ /\Q$Config_libext\E\z/ );
214215
my $in_perl = ( $libs =~ /\B-l:?\Q${thislib}\E\b/s );
215216

216217
# include the path to the lib once in the dynamic linker path

0 commit comments

Comments
 (0)