Skip to content

Commit

Permalink
Merge pull request #3957 from 23Skidoo/issue-3915
Browse files Browse the repository at this point in the history
D.S.GHCJS.libAbiHash: exclude trailing newline.
  • Loading branch information
23Skidoo authored Oct 8, 2016
2 parents 4dd9273 + 74b4049 commit d29d7bb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Cabal/Distribution/Simple/GHCJS.hs
Original file line number Diff line number Diff line change
Expand Up @@ -789,8 +789,9 @@ libAbiHash verbosity _pkg_descr lbi lib clbi = do
else error "libAbiHash: Can't find an enabled library way"
--
(ghcjsProg, _) <- requireProgram verbosity ghcjsProgram (withPrograms lbi)
getProgramInvocationOutput verbosity
(ghcInvocation ghcjsProg comp platform ghcArgs)
hash <- getProgramInvocationOutput verbosity
(ghcInvocation ghcjsProg comp platform ghcArgs)
return (takeWhile (not . isSpace) hash)

adjustExts :: String -> String -> GhcOptions -> GhcOptions
adjustExts hiSuf objSuf opts =
Expand Down

0 comments on commit d29d7bb

Please sign in to comment.