From: Nikos Mavrogiannopoulos Date: Sat, 16 Apr 2011 15:52:00 +0000 (+0200) Subject: Link with pthreads. X-Git-Tag: gnutls_2_99_1~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=33cc86625ffbfb259eceac38a1982df54f5daf96;p=thirdparty%2Fgnutls.git Link with pthreads. --- diff --git a/lib/Makefile.am b/lib/Makefile.am index 0e7751ee1d..7afe69029a 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -113,7 +113,8 @@ libgnutls_la_LDFLAGS = -no-undefined \ libgnutls_la_LIBADD = ../gl/libgnu.la x509/libgnutls_x509.la \ accelerated/libaccelerated.la ext/libgnutls_ext.la \ auth/libgnutls_auth.la \ - $(LTLIBZ) $(LTLIBINTL) $(LIBSOCKET) $(LTLIBDL) + $(LTLIBZ) $(LTLIBINTL) $(LIBSOCKET) $(LTLIBDL) \ + $(LTLIBPTHREAD) if ENABLE_OPENPGP libgnutls_la_LIBADD += openpgp/libgnutls_openpgp.la diff --git a/m4/hooks.m4 b/m4/hooks.m4 index d99dd82c85..5af3831392 100644 --- a/m4/hooks.m4 +++ b/m4/hooks.m4 @@ -97,7 +97,7 @@ if test "$cryptolib" = "nettle";then AC_DEFINE([NETTLE_GCM], 1, [Nettle supports GCM]) ], [ ]) - NETTLE_LIBS="-lgmp -lpthread -lhogweed" + NETTLE_LIBS="-lgmp -lhogweed" else AC_MSG_RESULT(no) fi