Descriptionninja/win: Let link-wrapper convert /s to \s in the linker command.
ExecLinkWrapper() runs a subprocess with shell=True, so that "link.exe" is
looked up using PATH from the environment loaded from environment.x86 in the
build directory.
shell=True implies that forward slashes in the path to the linker (say, if a
custom linker, such as lld-link.exe is used) don't work. If the linker command
is '..\../lld-link.exe', the command with fail with
"'..\..' is not recognized as an internal or external command".
So manually replace forward slashes with backslashes in the link command before
attempting to run it.
BUG=chromium:436277
r2008
Patch Set 1 #
Total comments: 2
Patch Set 2 : #Messages
Total messages: 5 (1 generated)
|