summaryrefslogtreecommitdiff
path: root/autogen/configure
diff options
context:
space:
mode:
Diffstat (limited to 'autogen/configure')
-rwxr-xr-xautogen/configure3
1 files changed, 2 insertions, 1 deletions
diff --git a/autogen/configure b/autogen/configure
index fc906db6fea..fceca6c0bec 100755
--- a/autogen/configure
+++ b/autogen/configure
@@ -10380,7 +10380,8 @@ fi
if test "$HAVE_PTHREAD" = yes; then
case "${canonical}" in
*-hpux*) ;;
- *) LIB_PTHREAD="-lpthread" ;;
+ *) LIB_PTHREAD="-lpthread"
+ LIBS="$LIB_PTHREAD $LIBS" ;;
esac
$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h