Initial revision

CVS patchset: 1180
CVS date: 1996/11/21 21:58:50
This commit is contained in:
ewt 1996-11-21 21:58:50 +00:00
parent 8f846037f5
commit edd6929adc
1 changed files with 9 additions and 0 deletions

9
autodeps/linux.req Normal file
View File

@ -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