diff options
author | Joey Hess <joey@kitenet.net> | 2013-12-06 18:06:39 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-12-06 18:06:39 -0400 |
commit | ac5c09cfa817a0916d6f5226236760c52bfa03a4 (patch) | |
tree | 8a2593fcdb8afb30c3d99673d721defd5235c60b /Build | |
parent | 2f6c025509231bc782079ffb6e219cc7524fce31 (diff) |
try to fix collect2 output parser
Diffstat (limited to 'Build')
-rw-r--r-- | Build/EvilLinker.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Build/EvilLinker.hs b/Build/EvilLinker.hs index ed58c9507..b6377064d 100644 --- a/Build/EvilLinker.hs +++ b/Build/EvilLinker.hs @@ -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) |