]>
git.ipfire.org Git - people/stevee/ipfire-2.x.git/blob - tools/find-dependencies
5 echo "${0}: Usage: PATH LIBRARY ..."
12 if [ ! -d "${root}" ]; then
13 echo "${0}: ${root}: No such file or directory"
19 # Build the regex filter
20 local filter
="(${libraries[*]// /|})"
23 for file in $
(find "${root}" -xdev -type f
-executable); do
24 if readelf
-d "${file}" 2>/dev
/null |
grep -qE "NEEDED.*\[${filter}\]$"; then