Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
1.18.1
-
None
-
-
3f3b4df74258bae8e5ce2bd9c9e6202be43f70e1 (qbs/qbs/1.20)
Description
On Windows with the msvc toolchain, when defining a linker wrapper via the cpp.linkerWrapper property, the link step fails with an error message stating "nologo" cannot be found. For example, consider cpp.linkerWrapper: ["wrapper.exe"]. The resulting linker command line is screwed up:
wrapper.exe /nologo <libraries> /Fe<executable> /link cl.exe /nologo <linker-options>
The correct order of arguments should be:
wrapper.exe cl.exe /nologo <libraries> /Fe<executable> /link /nologo <linker-options>