diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2014-10-08 09:12:51 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2014-10-09 08:17:32 +0200 |
commit | 27fe067efea883629354450a042ad09e47d90ff8 (patch) | |
tree | ac0482a26ef2fb557dad870518c90c753bf6c079 /m4/sys_socket_h.m4 | |
parent | gpg: Avoid error exit if keygrip computations fails in a key listing. (diff) | |
download | gnupg2-27fe067efea883629354450a042ad09e47d90ff8.tar.xz gnupg2-27fe067efea883629354450a042ad09e47d90ff8.zip |
Avoid unnecessary library linkage
* dirmngr/Makefile.am: Avoid $(DNSLIBS) for dirmngr_ldap
* g10/Makefile.am: $(LIBREADLINE) is only for gpg2; gpgv2 does not
need $(LIBASSUAN_LIBS)
* sm/Makefile.am: gpgsm does not need $(ZLIBS)
* tools/Makefile.am: gpgconf does not need $(NPTH_LIBS)
--
In the course of building GnuPG 2.1.0 beta864 on debian, i found that
several of the installed executables were linked to libraries that
they did not need to be linked to, which would cause unnecessary
package dependencies at runtime.
The changeset here removes these unnecessary libraries from linking.
Something similar could possibly also be done by passing --as-needed
to the linker, but trimming the depenencies seems more parsimonious.
Diffstat (limited to 'm4/sys_socket_h.m4')
0 files changed, 0 insertions, 0 deletions