4 # prints libraries for static linking and exits
8 my @statics = split /\s+/, $Config{static_ext};
12 my $file = "..\\lib\\auto\\$_\\extralibs.ld";
13 open my $fh, '<', $file or die "can't open $file for reading: $!";
14 $extralibs{$_}++ for grep {/\S/} split /\s+/, join '', <$fh>;
16 print map {s|/|\\|g;m|([^\\]+)$|;"..\\lib\\auto\\$_\\$1$Config{_a} "} @statics;
17 print map {"$_ "} sort keys %extralibs;