Fix #8180
authorAustin Seipp <austin@well-typed.com>
Sun, 12 Jan 2014 19:40:51 +0000 (13:40 -0600)
committerAustin Seipp <austin@well-typed.com>
Sun, 12 Jan 2014 19:40:51 +0000 (13:40 -0600)
commitae87e122b1bc0f388d43d28fb9fc4886c72ba022
tree50dcbd3ee6be40fc72b0efad3f884b95452966e8
parentf80659838118f84279cb2998ef42134a0d047189
Fix #8180

When compiling a set of modules under --make, we need to check if the
module graph has TemplateHaskell enabled. If it does, then we need to
switch on -dynamic-too for GHCi, so that the linker can properly find
the right dynamic object files.

Signed-off-by: Austin Seipp <austin@well-typed.com>
compiler/main/DriverPipeline.hs