Ticket #600 (closed defect: fixed)
Cabal should have an option to dynamically link executables
| Reported by: | juhp | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Cabal-1.10 |
| Component: | Cabal library | Version: | HEAD |
| Severity: | normal | Keywords: | |
| Cc: | juhp@… | Difficulty: | very easy (<1 hour) |
| GHC Version: | 6.12.3 | Platform: | Linux |
Description
With ghc-6.12 --enable-shared now works well to create shared libraries, however executable binary programs generated with Cabal are always statically linked. When configuring with --enable-shared they should be dynamically linked if possible.
Here is a patch tested successfully with ghc-6.12 RC1 on Linux.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

