blob: 9ab94a88705079ea7533fa6c796678a630c30d4a [file] [log] [blame]
--- a/m4macros/ax_crypto.m4
+++ b/m4macros/ax_crypto.m4
@@ -330,7 +330,7 @@ EOF
dnl Check availability of SHA-2
AC_MSG_CHECKING([support of SHA-2])
LIBS_SAVED=${LIBS}
- LIBS="$LIBS $CRYPTO_LIBS"
+ LIBS="$LIBS $CRYPTO_LIBS -lpthread"
CPPFLAGS_SAVED=${CPPFLAGS}
CPPFLAGS="$CRYPTO_INCLUDES $CPPFLAGS"
AC_LINK_IFELSE(