projects
/
platform
/
upstream
/
rpm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial revision
[platform/upstream/rpm.git]
/
autodeps
/
linux.req
1
#!/bin/bash
2
3
# note this works for both a.out and ELF executables
4
5
filelist=$(xargs file -L 2>/dev/null | grep "executable" | cut -d: -f1)
6
7
for f in $filelist; do
8
ldd $f | grep -v 'statically linked' | awk '{ print $1 }'
9
done | sort -u