From 0052a72f89c6830818e354358fdd84702d3494c8 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Wed, 8 Feb 2012 15:19:33 +0100 Subject: [PATCH] Link the thread test to pthread. * tests/gpg/Makefile.am (t_thread1_LDADD): Add -lpthread. --- tests/gpg/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gpg/Makefile.am b/tests/gpg/Makefile.am index d4debd7c..dd28d5e0 100644 --- a/tests/gpg/Makefile.am +++ b/tests/gpg/Makefile.am @@ -48,7 +48,7 @@ INCLUDES = -I$(top_builddir)/src AM_CPPFLAGS = @GPG_ERROR_CFLAGS@ LDADD = ../../src/libgpgme.la -t_thread1_LDADD = ../../src/libgpgme-pthread.la +t_thread1_LDADD = ../../src/libgpgme-pthread.la -lpthread # We don't run t-genkey in the test suite, because it takes too long noinst_PROGRAMS = $(TESTS) t-genkey