aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/msvc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/msvc.cxx')
-rw-r--r--build2/cc/msvc.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/build2/cc/msvc.cxx b/build2/cc/msvc.cxx
index 59bb55c..b418f78 100644
--- a/build2/cc/msvc.cxx
+++ b/build2/cc/msvc.cxx
@@ -157,7 +157,11 @@ namespace build2
// Link.exe seem to always dump everything to stdout but just in case
// redirect stderr to stdout.
//
- process pr (run_start (ld, args, -1 /* stdout */, false /* error */));
+ process pr (run_start (ld,
+ args,
+ 0 /* stdin */,
+ -1 /* stdout */,
+ false /* error */));
bool obj (false), dll (false);
string s;