From cff7c6ef26150d2c215eaef5ce52d9d75dd4ceb9 Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Sat, 22 Sep 2007 21:50:16 +0200 Subject: [PATCH] dpkg-shlibdeps: Fix handling of shlib types shlibs with no specified type should be valid for all types, not only for "deb". --- scripts/dpkg-shlibdeps.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.39.5