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. -}
|
||||
parseCollect2 :: Parser CmdParams
|
||||
parseCollect2 = do
|
||||
string "GNU ld"
|
||||
restOfLine
|
||||
try $ do
|
||||
string "GNU ld"
|
||||
restOfLine
|
||||
string "collect2 version"
|
||||
restOfLine
|
||||
path <- manyTill anyChar (try $ string ldcmd)
|
||||
|
|
Loading…
Add table
Reference in a new issue