diff options
author | ewt <devnull@localhost> | 1996-11-21 21:58:50 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1996-11-21 21:58:50 +0000 |
commit | edd6929adcc2c4507ba7aedf96583e3d37da3134 (patch) | |
tree | d2dd3a406e4df7ff7383c7f3e0477432afabfed7 /autodeps | |
parent | 8f846037f5df73eda19529ad0e8ff2532c3c6269 (diff) | |
download | librpm-tizen-edd6929adcc2c4507ba7aedf96583e3d37da3134.tar.gz librpm-tizen-edd6929adcc2c4507ba7aedf96583e3d37da3134.tar.bz2 librpm-tizen-edd6929adcc2c4507ba7aedf96583e3d37da3134.zip |
Initial revision
CVS patchset: 1180
CVS date: 1996/11/21 21:58:50
Diffstat (limited to 'autodeps')
-rw-r--r-- | autodeps/linux.req | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/autodeps/linux.req b/autodeps/linux.req new file mode 100644 index 000000000..2b28a8655 --- /dev/null +++ b/autodeps/linux.req @@ -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 |