From 5f28c64a739e65a8a7529ca4a358e8c46a8a5412 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Thu, 25 Dec 2008 18:03:02 +0100 Subject: [PATCH] add -lpthread to LDFLAGS instead of -pthread --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 74fdbfd9..64c2436f 100644 --- a/configure.in +++ b/configure.in @@ -38,7 +38,7 @@ dnl ================================= dnl = checking for curl and pthread = dnl ================================= if test "$curl" = "yes" ; then - AC_CHECK_LIB(pthread, pthread_create, LDFLAGS="$LDFLAGS -pthread", AC_MSG_ERROR([pthread library is required])) + AC_CHECK_LIB(pthread, pthread_create, LDFLAGS="$LDFLAGS -lpthread", AC_MSG_ERROR([pthread library is required])) AC_CHECK_HEADERS([pthread.h], , AC_MSG_ERROR([missing pthread.h header])) AC_PATH_PROG(CURL_CONFIG, curl-config) if test "$CURL_CONFIG" != "" ; then