mirror of https://github.com/moparisthebest/curl
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
This commit is contained in:
parent
77444b84f3
commit
93b3970ad4
|
@ -148,8 +148,8 @@ if test "x$OPT_WOLFSSL" != xno; then
|
||||||
else
|
else
|
||||||
dnl user didn't give a path, so guess/hope they installed wolfssl
|
dnl user didn't give a path, so guess/hope they installed wolfssl
|
||||||
dnl headers to system default location
|
dnl headers to system default location
|
||||||
CPPFLAGS="-I$includedir/wolfssl $CPPFLAGS"
|
CPPFLAGS="-I/usr/include/wolfssl $CPPFLAGS"
|
||||||
AC_MSG_NOTICE([Add $includedir/wolfssl to CPPFLAGS])
|
AC_MSG_NOTICE([Add /usr/include/wolfssl to CPPFLAGS])
|
||||||
fi
|
fi
|
||||||
WOLFSSL_NTLM=1
|
WOLFSSL_NTLM=1
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue