try to fix collect2 output parser

This commit is contained in:
Joey Hess 2013-12-06 18:06:39 -04:00
parent 0a66293600
commit db26e3c4de

View file

@ -81,6 +81,7 @@ parseGccLink = do
{- Find where collect2 calls ld. -}
parseCollect2 :: Parser CmdParams
parseCollect2 = do
try $ do
string "GNU ld"
restOfLine
string "collect2 version"