On 09/16/2010 05:47 PM, Hoyt, David wrote:
Should libhogweed have a dependency on libnettle if I'm compiling each as shared libraries? Or should I be linking against nettle's static library and thus have duplicate functions in each?
I'd recommend explicit dependencies. Duplicate definitions seem potentially problematic.
Debian does explicit dependencies, fwiw:
0 dkg@pip:~$ apt-cache show libhogweed1 | grep ^Depend Depends: libc6 (>= 2.1.3), libgmp3c2, libnettle3 0 dkg@pip:~$
hth,
--dkg