diff options
-rwxr-xr-x | strip_and_check_elf_files | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/strip_and_check_elf_files b/strip_and_check_elf_files index 4cc7e23..4cebbe9 100755 --- a/strip_and_check_elf_files +++ b/strip_and_check_elf_files @@ -44,12 +44,16 @@ sub check_missing_or_unused_libs { my (undef, undef, @l) = `ldd -u -r $f 2>/dev/null`; @l or next; my $f_ = substr($f, length($buildroot)); - print STDERR "Warning: unused libraries in $f_: ", join(' ', map { basename($_) } @l), "\n"; + print STDERR + "Warning: unused libraries in $f_: ", + join(' ', map { basename($_) } @l), "\n"; } foreach my $f (@shared_libs) { my @l = `ldd -r $f 2>&1 >/dev/null` or next; my $f_ = substr($f, length($buildroot)); - print STDERR "Warning: undefined symbols in $f_: ", join(' ', map { /undefined symbol: (\S+)/ ? $1 : () } @l), "\n"; + print STDERR + "Warning: undefined symbols in $f_: ", + join(' ', map { /undefined symbol: (\S+)/ ? $1 : () } @l), "\n"; } } |