wrapQtAppsHook: use patchelf --print-interpreter instead of isELFExec
Some executables are built as PIEs (e.g. keepassxc) and are technically isELFDyn, not isELFExec. Without this change those executables will not be wrapped.
This commit is contained in:
@@ -82,7 +82,7 @@ wrapQtAppsHook() {
|
||||
|
||||
find "$targetDir" -executable -print0 | while IFS= read -r -d '' file
|
||||
do
|
||||
isELFExec "$file" || continue
|
||||
patchelf --print-interpreter "$file" >/dev/null 2>&1 || continue
|
||||
|
||||
if [ -f "$file" ]
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user