diff options
Diffstat (limited to 'dh_makeshlibs')
-rwxr-xr-x | dh_makeshlibs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dh_makeshlibs b/dh_makeshlibs index e8b27445..fbb5f4ce 100755 --- a/dh_makeshlibs +++ b/dh_makeshlibs @@ -227,8 +227,9 @@ sub _all_so_files { # Only real/regular files -l && return; -f _ || return; - return if not is_so_or_exec_elf_file($_) or excludefile($_); my $path = "$File::Find::dir/$_"; + return if excludefile($path); + return if not is_so_or_exec_elf_file($_); push(@all_so_files, $path); }, $root_dir); |