]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Link with pthreads.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 16 Apr 2011 15:52:00 +0000 (17:52 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 16 Apr 2011 15:52:00 +0000 (17:52 +0200)
lib/Makefile.am
m4/hooks.m4

index 0e7751ee1d4b8732d6111950d65d1976d619015c..7afe69029a39e9d016fc7cba257f4a03d578a3f9 100644 (file)
@@ -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
index d99dd82c854fd0c43aaf67c69f8011765ca17041..5af3831392a2134a2faab63d4256cdf9018eca47 100644 (file)
@@ -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