Generates a shlibs file that looks something like:
libfoobar 1 libfoobar1 (>= 1.0)
-=back
-
=head1 NOTES
There is no guarantee that the program will get the shlibs file right. For
my $major;
chomp;
- $need_ldconfig=1;
# The second evil regexp is for db3, whose author should
# be shot.
if (m#.*/([^/]*)\.so\.(\d*)\.?# || m#.*/([^/]*)-([^\s/]+)\.so$#) {
}
if (defined($library) && defined($major) && defined($deps) &&
$library ne '' && $major ne '' && $deps ne '') {
+ $need_ldconfig=1;
# Prevent duplicate lines from entering the file.
my $line="$library $major $deps";
if (! $seen{$line}) {