Ticket #600 (closed defect: fixed)
Cabal should have an option to dynamically link executables
|Reported by:||juhp||Owned by:|
|Cc:||juhp@…||Difficulty:||very easy (<1 hour)|
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.