mirror of
https://github.com/linuxboot/heads.git
synced 2025-01-18 02:39:59 +00:00
warn on missing libraries
This commit is contained in:
parent
80b82fdfc4
commit
785006d4a4
@ -17,6 +17,11 @@ for my $file (@ARGV)
|
||||
my @libs = `ldd "$file"`;
|
||||
for (@libs)
|
||||
{
|
||||
if (/ not found/)
|
||||
{
|
||||
warn "$file: $_";
|
||||
next;
|
||||
}
|
||||
if (/ => ([^ ]+)/)
|
||||
{
|
||||
# Normal library
|
||||
|
Loading…
Reference in New Issue
Block a user