qt: use isELF and isMachO in wrapQtAppsHook

This commit is contained in:
Dmitry Kalinkin 2021-09-28 10:13:44 -04:00
parent 339eeda627
commit ee33a90c56
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333

View File

@ -85,7 +85,7 @@ wrapQtAppsHook() {
find "$targetDir" ! -type d -executable -print0 | while IFS= read -r -d '' file
do
patchelf --print-interpreter "$file" >/dev/null 2>&1 || continue
ifELF "$file" || isMachO "$file" || continue
if [ -f "$file" ]
then