#600: Cabal should use -dynamic linking for executable when package configured
--enable-shared
----------------------------+-----------------------------------------------
Reporter: juhp | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Cabal-1.8
Component: Cabal library | Version: HEAD
Severity: normal | Keywords:
Difficulty: unknown | Ghcversion:
Platform: Linux |
----------------------------+-----------------------------------------------
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.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/600>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
_______________________________________________
cabal-devel mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cabal-devel