summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-05-18 09:55:02 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-05-18 16:22:12 +0200
commit93b3970ad47f66a621be1581c1f98fe960a5a5cc (patch)
treefe27aa341ebbbf48d41950742847b43a9f3c6abc /m4
parent77444b84f3299786f956ed0f7a4a6ddf039a0962 (diff)
downloadcurl-93b3970ad47f66a621be1581c1f98fe960a5a5cc.tar.gz
curl-wolfssl.m4: without custom include path, assume /usr/include
... so that we can point out the root of the OpenSSL emulation headers. Previously this used the '$includedir' variable which is wrong since that defaults to the dir where the current configure invoke will install the built libcurl headers: /usr/local by default. Fixes #7085 Reported-by: Joel Jakobsson Closes #7087
Diffstat (limited to 'm4')
-rw-r--r--m4/curl-wolfssl.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/curl-wolfssl.m4 b/m4/curl-wolfssl.m4
index db9f8ceb5..ada65726c 100644
--- a/m4/curl-wolfssl.m4
+++ b/m4/curl-wolfssl.m4
@@ -148,8 +148,8 @@ if test "x$OPT_WOLFSSL" != xno; then
else
dnl user didn't give a path, so guess/hope they installed wolfssl
dnl headers to system default location
- CPPFLAGS="-I$includedir/wolfssl $CPPFLAGS"
- AC_MSG_NOTICE([Add $includedir/wolfssl to CPPFLAGS])
+ CPPFLAGS="-I/usr/include/wolfssl $CPPFLAGS"
+ AC_MSG_NOTICE([Add /usr/include/wolfssl to CPPFLAGS])
fi
WOLFSSL_NTLM=1
]