Fix linking order to work when linked with --as-needed.
authorNeal H. Walfield <neal@gnu.org>
Wed, 13 May 2015 19:47:11 +0000 (21:47 +0200)
committerNeal H. Walfield <neal@gnu.org>
Wed, 13 May 2015 19:47:11 +0000 (21:47 +0200)
commit496235af8dfd373b54e5610f86bf1cada175ac23
treeacbac1240caa77a3f53ade8263d918f1c251f42e
parent3062742b945f95d72001896f8ba5468b9e63aa9b
Fix linking order to work when linked with --as-needed.

* curses/Makefile.am (LDADD): Add $(COMMON_LIBS) after all of the
local objects and object archives.
* gnome3/Makefile.am (LDADD): Likewise.
* gtk+-2/Makefile.am (LDADD): Likewise.
* qt4/Makefile.am (pinentry_qt4_LDADD): Likewise.
* tty/Makefile.am (LDADD): Likewise.

Reported-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
curses/Makefile.am
gnome3/Makefile.am
gtk+-2/Makefile.am
qt4/Makefile.am
tty/Makefile.am