From: Frank Lichtenheld Date: Sat, 22 Sep 2007 19:50:16 +0000 (+0200) Subject: dpkg-shlibdeps: Fix handling of shlib types X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cff7c6ef26150d2c215eaef5ce52d9d75dd4ceb9;p=dpkg dpkg-shlibdeps: Fix handling of shlib types shlibs with no specified type should be valid for all types, not only for "deb". --- diff --git a/scripts/dpkg-shlibdeps.pl b/scripts/dpkg-shlibdeps.pl index 327f3196..fbb8b60d 100755 --- a/scripts/dpkg-shlibdeps.pl +++ b/scripts/dpkg-shlibdeps.pl @@ -336,8 +336,7 @@ sub extract_from_shlibs { warning(sprintf(_g("shared libs info file \`%s' line %d: bad line \`%s'"), $shlibfile, $., $_)); next; } - my $type = defined($1) ? $1 : "deb"; - next if $type ne $packagetype; + next if defined($1) and $1 ne $packagetype; if (($libname eq $2) && ($libversion eq $3)) { $dep = $4; last;