diff options
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) |