forked from mirrors/nixpkgs
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:
parent
f595f28d55
commit
c6d516dfc4
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue