Build shared library when linking executables dynamically
Dynamically linking executables will fail without a shared library unless the executables do not depend on the library or there is no library. If there is no library, building shared libraries comes at no cost. If there is a library, the executables usually depend on it, so it makes sense to --enable-shared. If the user passes --disable-shared, it will still be honored, but a warning will be produced.
Showing
- Cabal/Distribution/Simple/Configure.hs 20 additions, 5 deletionsCabal/Distribution/Simple/Configure.hs
- Cabal/changelog 1 addition, 0 deletionsCabal/changelog
- Cabal/doc/installing-packages.markdown 8 additions, 0 deletionsCabal/doc/installing-packages.markdown
- Cabal/tests/PackageTests/TestSuiteExeV10/Check.hs 4 additions, 3 deletionsCabal/tests/PackageTests/TestSuiteExeV10/Check.hs
Loading
Please register or sign in to comment