Commit feb79c4b authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

GHCJS.libAbiHash: exclude trailing newline.

Already fixed in the parent module in
20e35704.

Fixes #3915.
parent 4fd559ad
...@@ -790,8 +790,9 @@ libAbiHash verbosity _pkg_descr lbi lib clbi = do ...@@ -790,8 +790,9 @@ libAbiHash verbosity _pkg_descr lbi lib clbi = do
else error "libAbiHash: Can't find an enabled library way" else error "libAbiHash: Can't find an enabled library way"
-- --
(ghcjsProg, _) <- requireProgram verbosity ghcjsProgram (withPrograms lbi) (ghcjsProg, _) <- requireProgram verbosity ghcjsProgram (withPrograms lbi)
getProgramInvocationOutput verbosity hash <- getProgramInvocationOutput verbosity
(ghcInvocation ghcjsProg comp platform ghcArgs) (ghcInvocation ghcjsProg comp platform ghcArgs)
return (takeWhile (not . isSpace) hash)
adjustExts :: String -> String -> GhcOptions -> GhcOptions adjustExts :: String -> String -> GhcOptions -> GhcOptions
adjustExts hiSuf objSuf opts = adjustExts hiSuf objSuf opts =
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment