问题
I guess that "shared" will make cabal install
faster, right ? The default value of shared is False. Should we use True or False for shared ?
thanks!
回答1:
It means "also build dynamically-linked (aka shared) versions of libraries that are installed with cabal install
".
$ cabal help install | grep shared
--enable-shared Enable Shared library
--disable-shared Disable Shared library
By default, only statically-linked versions are built. So it won't make cabal install libfoo
faster - on the contrary, building libfoo
will take more time.
来源:https://stackoverflow.com/questions/13188387/what-does-shared-mean-in-cabal-config