configure: try doing the same

This commit is contained in:
Viktor Szakats 2025-07-17 10:37:21 +02:00
parent c95694f8fd
commit 8c511908e4
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -76,6 +76,12 @@ if test "x$OPT_WOLFSSL" != xno; then
fi
fi
if test "$curl_cv_apple" = 'yes'; then
addlib="$addlib -framework Security -framework CoreFoundation"
else
addlib="$addlib -lm"
fi
if test "x$USE_WOLFSSL" != "xyes"; then
LDFLAGS="$LDFLAGS $addld"
@ -127,7 +133,7 @@ if test "x$OPT_WOLFSSL" != xno; then
dnl wolfssl/ctaocrypt/types.h needs SIZEOF_LONG_LONG defined!
CURL_SIZEOF(long long)
LIBS="$addlib -lm $LIBS"
LIBS="$addlib $LIBS"
dnl is this wolfSSL providing the original QUIC API?
AC_CHECK_FUNCS([wolfSSL_set_quic_use_legacy_codepoint], [QUIC_ENABLED=yes])