diff options
author | Niels Thykier <niels@thykier.net> | 2017-11-11 08:36:29 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2017-11-11 08:36:29 +0000 |
commit | fc7d79ed5e46abd21359a37f1d87d64522576f7d (patch) | |
tree | 81ff838f9a058b8cdf9bf13b4a21f5c1fabb9c18 /dh_makeshlibs | |
parent | 0ff7d9c44b153c5536cb43a71a34bc35154b026b (diff) | |
download | debhelper-fc7d79ed5e46abd21359a37f1d87d64522576f7d.tar.gz |
dh_makeshlibs: Ignore non-ELF files even if named .so
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_makeshlibs')
-rwxr-xr-x | dh_makeshlibs | 1 |
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\.(.*)/) { |