[gpgme PATCH] build-sys: link libassuan and libgpg-error in gpgme-tool as well.

Diego Elio Pettenò flameeyes at gmail.com
Sun May 15 19:09:00 CEST 2011


Without this change, the binary would result "underlinked", and GNU gold
would fail to link it.
---
 src/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 18c8b3b..0b240ee 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -240,7 +240,7 @@ libgpgme_qt_la_LIBADD = $(gpgme_res) @LIBASSUAN_LIBS@ @LTLIBOBJS@ \
 endif
 
 noinst_PROGRAMS = gpgme-tool
-gpgme_tool_LDADD = libgpgme.la
+gpgme_tool_LDADD = libgpgme.la @LIBASSUAN_LIBS@ @GPG_ERROR_LIBS@
 
 status-table.h : gpgme.h extra-stati.h
 	cat $(builddir)/gpgme.h $(srcdir)extra-stati.h \
-- 
1.7.5.rc3




More information about the Gnupg-devel mailing list