Initial revision
CVS patchset: 1180 CVS date: 1996/11/21 21:58:50
This commit is contained in:
parent
8f846037f5
commit
edd6929adc
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
# note this works for both a.out and ELF executables
|
||||
|
||||
filelist=$(xargs file -L 2>/dev/null | grep "executable" | cut -d: -f1)
|
||||
|
||||
for f in $filelist; do
|
||||
ldd $f | grep -v 'statically linked' | awk '{ print $1 }'
|
||||
done | sort -u
|
Loading…
Reference in New Issue