windeployqt: a little readability improvement
Break the long sentence to improve the logic readability a bit. Pick-to: 6.5 Change-Id: I3d0227e616a3c47e14ae7b5cfe4b47a39d778e5e Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
This commit is contained in:
parent
86398b477b
commit
21baa76230
@ -737,7 +737,11 @@ inline void determineDebugAndDependentLibs(const ImageNtHeader *nth, const void
|
||||
} else {
|
||||
// When an MSVC debug entry is present, check whether the debug runtime
|
||||
// is actually used to detect -release / -force-debug-info builds.
|
||||
*isDebugIn = hasDebugEntry && checkMsvcDebugRuntime(dependentLibraries) != MsvcReleaseRuntime;
|
||||
const MsvcDebugRuntimeResult msvcrt = checkMsvcDebugRuntime(dependentLibraries);
|
||||
if (msvcrt == NoMsvcRuntime)
|
||||
*isDebugIn = hasDebugEntry;
|
||||
else
|
||||
*isDebugIn = hasDebugEntry && msvcrt == MsvcDebugRuntime;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user