[arch-haskell] What to do about --enable-shared?
simons at cryp.to
Sat Oct 12 07:37:21 UTC 2013
I've made some tests with --enable-shared, and the good news is that it
works great. The bad news is that Cabal doesn't honor the flag when
building executables. Apparently, this is a known issue:
A work-around that has been suggested is to specify --ghc-opt=-dynamic
for builds that contain executables, but this solution feels kind of
hack'ish. On the other hand, shared linkage cuts down binary size a lot,
which is good.
How do you feel about this issue? Any preferences?
More information about the arch-haskell