From 24fc9f0b428176ef00902b5e5647c0c2c7f53088 Mon Sep 17 00:00:00 2001 From: JacobBarthelmeh Date: Mon, 11 Mar 2024 11:57:46 -0700 Subject: [PATCH] add lwolfssl to LIBS --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index 5d84cf1b7..bdd851d8b 100644 --- a/configure.ac +++ b/configure.ac @@ -138,6 +138,11 @@ if test ${HAVE_WOLFSSL} = "0" ; then fi fi +if test ${HAVE_WOLFSSL} = "1" ; then + LIBS="-lwolfssl ${LIBS}" + AC_DEFINE(HAVE_LIBWOLFSSL,[1],[libwolfssl was found and linked with]) +fi + AC_CHECK_FUNCS([gethostbyname getaddrinfo gettimeofday inet_ntoa memset socket wc_ecc_set_rng]) AC_CHECK_DECLS([[pread],[pwrite]],,[unistd.h])