commit: 332dfc9e2f9afa3a3fa782ec3a11b2fe79a264e8
Author: Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 19 09:29:17 2023 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu May 25 20:36:30 2023 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=332dfc9e
dynlink-scanner: add pie-executable to emime type detection list
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
Documentation/maintainers/dynlink-scanner | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/maintainers/dynlink-scanner
b/Documentation/maintainers/dynlink-scanner
index a95235c1ee..153edd0e4d 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