diff options
| -rwxr-xr-x | Documentation/maintainers/dynlink-scanner | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/maintainers/dynlink-scanner b/Documentation/maintainers/dynlink-scanner index a95235c1ee0..153edd0e4d8 100755 --- a/Documentation/maintainers/dynlink-scanner +++ b/Documentation/maintainers/dynlink-scanner @@ -22,7 +22,7 @@ if [[ "$1" = --linking-deps ]]; then exit 1 fi mime=`file -b --mime-type "$2"` - if [[ "$mime" == 'application/x-executable' ]] || [[ "${mime}" == 'application/x-sharedlib' ]]; then + if [[ "$mime" == 'application/x-pie-executable' ]] || [[ "$mime" == 'application/x-executable' ]] || [[ "${mime}" == 'application/x-sharedlib' ]]; then LINK=`get_link_deps "$2"` [[ "$mime" == 'application/x-sharedlib' ]] && /tmp/try_dlopen "$2" [[ -n $LINK ]] && echo -e ${LINK//,/\\n} | sort -u |
