[gmime] tests: Link pkcs11 test explicitly to -lgpg-error



commit b8df0b4027b4a304d19a5b3c836430ff7aab49ed
Author: Colin Walters <walters verbum org>
Date:   Thu Nov 3 19:17:50 2011 -0400

    tests: Link pkcs11 test explicitly to -lgpg-error
    
    Since it calls functions from there, the test needs to be explicitly
    linked against it.

 tests/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 197e598..e0f88a3 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -104,7 +104,7 @@ test_pgpmime_LDADD = $(LDADDS)
 test_pkcs7_SOURCES = test-pkcs7.c testsuite.c testsuite.h
 test_pkcs7_LDFLAGS = 
 test_pkcs7_DEPENDENCIES = $(DEPS)
-test_pkcs7_LDADD = $(LDADDS)
+test_pkcs7_LDADD = $(LDADDS) $(GPGME_PTHREAD_LIBS) -lgpg-error
 
 test_smime_SOURCES = test-smime.c testsuite.c testsuite.h
 test_smime_LDFLAGS = 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]