qt55.qmakeHook: remove temporary directory in postInstall
Fixes #15556. If the temporary directory is not removed, it will be retained in RPATH, which is a serious security concern.
This commit is contained in:
parent
747517da48
commit
95c5bfc2dc
@ -68,6 +68,10 @@ _qtMultioutModuleDevs() {
|
||||
fi
|
||||
}
|
||||
|
||||
_qtRmQtOut() {
|
||||
rm -fr "$qtOut"
|
||||
}
|
||||
|
||||
qmakeConfigurePhase() {
|
||||
runHook preConfigure
|
||||
|
||||
@ -109,6 +113,8 @@ fi
|
||||
if [ -n "$NIX_QT_SUBMODULE" ]; then
|
||||
postInstallHooks+=(_qtRmQmake _qtRmModules)
|
||||
preFixupHooks+=(_qtMultioutModuleDevs)
|
||||
else
|
||||
postInstallHooks+=(_qtRmQtOut)
|
||||
fi
|
||||
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user