]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl-wolfssl.m4: without custom include path, assume /usr/include
authorDaniel Stenberg <daniel@haxx.se>
Tue, 18 May 2021 07:55:02 +0000 (09:55 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 18 May 2021 14:22:12 +0000 (16:22 +0200)
... 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

m4/curl-wolfssl.m4

index db9f8ceb5e6e069bb65c1487fd8e25cf93b89e6c..ada65726cfef52c003582c20fc4d2992bc2fbdcf 100644 (file)
@@ -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
         ]