Ticket #869 (new defect)

Opened 22 months ago

Last modified 17 months ago

patch to make --enable-executable-dynamic work for TemplateHaskell

Reported by: juhp Owned by:
Priority: normal Milestone: Cabal-1.12
Component: Cabal library Version: HEAD
Severity: normal Keywords:
Cc: Difficulty: unknown
GHC Version: Platform:

Description

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.

Attachments

fix-__enable_executable_dynamic-for-templatehaskell.dpatch Download (220.3 KB) - added by juhp 22 months ago.
patch against darcs head: tested successfully on cabal-dev-0.8 with ghc-7.2 rc1

Change History

Changed 22 months ago by juhp

patch against darcs head: tested successfully on cabal-dev-0.8 with ghc-7.2 rc1

Changed 17 months ago by elga

Note: See TracTickets for help on using tickets.