diff options
| author | Yixun Lan <dlan@gentoo.org> | 2023-01-19 17:29:17 +0800 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-05-25 22:36:30 +0200 |
| commit | 332dfc9e2f9afa3a3fa782ec3a11b2fe79a264e8 (patch) | |
| tree | e431f2979d5dd4d9141b57d28ae4e54e9e02fdb0 | |
| parent | b105809b72ccced81b0653a13285592939b71e28 (diff) | |
| download | kde-332dfc9e2f9afa3a3fa782ec3a11b2fe79a264e8.tar.gz kde-332dfc9e2f9afa3a3fa782ec3a11b2fe79a264e8.tar.bz2 kde-332dfc9e2f9afa3a3fa782ec3a11b2fe79a264e8.zip | |
dynlink-scanner: add pie-executable to emime type detection list
Signed-off-by: Yixun Lan <dlan@gentoo.org>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
| -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 |
