haskell/cabal — pull request #984 by int-e (2012-07-31 18:36:47+00:00)
Title: Fix a couple of bugs in `Distribution.Simple.GHC`

The patches build on top of #973 (in fact I have rebased the patches on top of **tibbe**'s branch). All of these bugs have been introduced in a recent refactoring, 5f50fb1. In particular,

* building shared C objects uses the wrong filename
* building profiled executables with `TemplateHaskell` is not working