packages/net/kea/patches/002-fix-host-compile.patch
Rosen Penev 222cad4ccc kea: fix compilation with libcxx
Boost headers try to include experimental/string_view when std is less
than c++17. This does not work ith libcxx where this header is not
present.

Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-31 18:23:28 -07:00

11 lines
350 B
Diff

--- 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(