Ticket #869 (new defect)
patch to make --enable-executable-dynamic work for TemplateHaskell
|Reported by:||juhp||Owned by:|
The attached patch fixes --enable-executable-dynamic failing when building a executable that uses template-haskell.
The patch just makes ghc output .dyn_hi and .dyn_o files and builds like for executable profiling: ie first build a vanilla executable for ghci loading and then the dynamic executable to keep ghc happy.