Commit 7a973e54 authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files


parent cf1ccd05
......@@ -973,6 +973,11 @@ buildOrReplExe forRepl verbosity _pkg_descr lbi
ghcOptExtra = filterGhciFlags
(ghcOptExtra baseOpts)
-- For a normal compile we do separate invocations of ghc for
-- compiling as for linking. But for repl we have to do just
-- the one invocation, so that one has to include all the
-- linker stuff too, like -l flags and any .o files from C
-- files etc.
`mappend` linkerOpts
`mappend` mempty {
ghcOptMode = toFlag GhcModeInteractive,
Supports Markdown
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