Dropping indirect dependencies from libgnutls-config --libs
currently "libgnutls-config --libs"' output looks like this,
-L/usr/lib -lgnutls -L/usr/lib -ltasn1 -lgcrypt -lgpg-error
listing both direct (-lgnutls) and indirect dependencies. - Its output
can be used for static linking.
I am pondering (and have now been asked by bts) on changing this to
only say -lgnutls for Debian, which is enough for dynamic linking. -
Static linking would be broken except for
a) libtool using packages (.la lists the indirect dependencies)
b) packages using pkg-config --libs --static to get the indirect
This change is probably going to influence most of the autoconf using
packages requiring gnutls, as AM_PATH_LIBGNUTLS is using
libgnutls-config to find gnutls and the needed linker/compiler flags.
I do not expect any resulting breakage (i.e. none or next to none in
Debian packages) besides the one noted above, but perhaps I have
missed something. I'd welcome to hear about your thoughts on this.
thanks, cu andreas
 Is this actually done somewhere? Letting libtool doing the
fiddling sounds saner than constructing different compilerflags
depending whether static linking is used.
The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken. (c) Jasper Ffforde