summaryrefslogtreecommitdiff
path: root/dh_makeshlibs
diff options
context:
space:
mode:
Diffstat (limited to 'dh_makeshlibs')
-rwxr-xr-xdh_makeshlibs1
1 files changed, 1 insertions, 0 deletions
diff --git a/dh_makeshlibs b/dh_makeshlibs
index d5441f27..8bb3354c 100755
--- a/dh_makeshlibs
+++ b/dh_makeshlibs
@@ -168,6 +168,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
while (<FIND>) {
my ($library, $major);
chomp;
+ next if not is_so_or_exec_elf_file($_);
push @lib_files, $_;
my $ret = compat(10) ? `$objdump -p "$_"` : qx_cmd($objdump, '-p', $_);
if ($ret=~m/\s+SONAME\s+(.*)\.so\.(.*)/) {