summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/EvilLinker.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/EvilLinker.hs b/Build/EvilLinker.hs
index 0e386bcac..b81eb374a 100644
--- a/Build/EvilLinker.hs
+++ b/Build/EvilLinker.hs
@@ -86,7 +86,7 @@ parseCollect2 = do
path <- manyTill anyChar (try $ string ldcmd)
char ' '
params <- restOfLine
- return $ CmdParams (path ++ ldcmd) params Nothing
+ return $ CmdParams (path ++ ldcmd) (escapeDosPaths params) Nothing
where
ldcmd = "ld.exe"