=================================================================== RCS file: /cvs/openbsd/fill_chroot/find_depends,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- openbsd/fill_chroot/find_depends 2008/05/05 20:02:57 1.9 +++ openbsd/fill_chroot/find_depends 2008/09/16 23:15:03 1.10 @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $RedRiver: find_depends,v 1.8 2008/05/05 18:58:18 andrew Exp $ +# $RedRiver: find_depends,v 1.9 2008/05/05 19:02:57 andrew Exp $ use strict; use warnings; @@ -69,13 +69,13 @@ my ($name, $maj, $min) = $_ =~ /lib([^\/]+)\.so\.(\d+)\.(\d+)$/; next if ! $name; my $spec = 'l' . $name . '.' . $maj . '.' . $min; + print " Found spec '$spec'\n" if $opts{v}; if (exists $ld->{$spec}) { next if exists $locs->{$spec}; $locs->{$spec} = $ld->{$spec}; - - $locs = find_libs($locs->{$spec}, $ld, $locs); + $locs = find_libs($ld->{$spec}, $ld, $locs); } else { warn "Couldn't find location for lib '$_' (file '$file')";