Hello,<br><br>When I tell cabal-install to build shared libraries (with &quot;Shared: True&quot; in .cabal/config), it doubles the libraries installation time since it compiles them twice, since it seems that is what GHC&#39;s flag &quot;-shared&quot; does.<br>

Is there a way to generate only the .so and not the the .a libs?<br><br>Furthermore, I have the impression that the executables compiled by cabal-install are always linked statically... Can I tell cabal-install to activate the GHC&#39;s flag &quot;-dynamic&quot; for executables?<br>

<br>Thanks.<br>