Changeset 32272


Ignore:
Timestamp:
2012-06-13T00:02:41+02:00 (4 years ago)
Author:
jow
Message:

[scripts] gen-dependencies.sh: only include lib*.so* files in dependency list, to match the filtering of provides lists

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/gen-dependencies.sh

    r32185 r32272  
    2121  sed -n -e 's/^\(.*\):.*ELF.*\(executable\|shared object\).*,.* stripped/\1/p' | \ 
    2222  $XARGS -n1 readelf -d | \ 
    23   awk '$2 ~ /NEEDED/ && $NF !~ /interpreter/ { gsub(/[\[\]]/, "", $NF); print $NF }' | \ 
     23  awk '$2 ~ /NEEDED/ && $NF !~ /interpreter/ && $NF ~ /^\[?lib.*\.so/ { gsub(/[\[\]]/, "", $NF); print $NF }' | \ 
    2424  sort -u 
Note: See TracChangeset for help on using the changeset viewer.