try to fix collect2 output parser
This commit is contained in:
parent
0a66293600
commit
db26e3c4de
1 changed files with 3 additions and 2 deletions
|
@ -81,8 +81,9 @@ parseGccLink = do
|
||||||
{- Find where collect2 calls ld. -}
|
{- Find where collect2 calls ld. -}
|
||||||
parseCollect2 :: Parser CmdParams
|
parseCollect2 :: Parser CmdParams
|
||||||
parseCollect2 = do
|
parseCollect2 = do
|
||||||
string "GNU ld"
|
try $ do
|
||||||
restOfLine
|
string "GNU ld"
|
||||||
|
restOfLine
|
||||||
string "collect2 version"
|
string "collect2 version"
|
||||||
restOfLine
|
restOfLine
|
||||||
path <- manyTill anyChar (try $ string ldcmd)
|
path <- manyTill anyChar (try $ string ldcmd)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue