aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/gccld/gccld.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gccld/gccld.cpp b/tools/gccld/gccld.cpp
index 91f206b..d33d64a 100644
--- a/tools/gccld/gccld.cpp
+++ b/tools/gccld/gccld.cpp
@@ -124,7 +124,7 @@ static void EmitShellScript(char **argv) {
std::cerr << "Could not find llvm-stub.exe executable!\n";
exit(1);
}
- sys::CopyFile(OutputFilename, llvmstub);
+ sys::CopyFile(sys::Path(OutputFilename), sys::Path(llvmstub));
return;
#endif