mangle \ in paths (sheesh)
This commit is contained in:
parent
598dc56222
commit
6b30b66160
1 changed files with 2 additions and 1 deletions
|
@ -33,7 +33,7 @@ parseGhcLink = do
|
|||
gcccmd <- many1 (noneOf "\"")
|
||||
string "\" "
|
||||
gccparams <- restOfLine
|
||||
return $ CmdParams gcccmd gccparams
|
||||
return $ CmdParams gcccmd (manglepaths gccparams)
|
||||
where
|
||||
linkheaderline = do
|
||||
string "*** Linker"
|
||||
|
@ -41,6 +41,7 @@ parseGhcLink = do
|
|||
prelinklines = do
|
||||
notFollowedBy linkheaderline
|
||||
restOfLine
|
||||
manglepaths = replace "\\" "/"
|
||||
|
||||
{- Find where gcc calls collect1. -}
|
||||
parseGccLink :: Parser CmdParams
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue