[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 18/411: configure: fix pkg-config detecting wolfssl

From: gnunet
Subject: [gnurl] 18/411: configure: fix pkg-config detecting wolfssl
Date: Wed, 13 Jan 2021 01:17:13 +0100

This is an automated email from the git hooks/post-receive script.

nikita pushed a commit to branch master
in repository gnurl.

commit 510d98157f21dee5793c4e975fde3317b6139267
Author: Daniel Stenberg <>
AuthorDate: Mon Aug 24 16:28:34 2020 +0200

    configure: fix pkg-config detecting wolfssl
    When amending the include path with "/wolfssl", this now properly strips
    off all whitespace from the path variable! Previously this would lead to
    pkg-config builds creating bad command lines.
    Closes #5848
--- | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/ b/
index 9c738d12d..918003e02 100755
--- a/
+++ b/
@@ -2474,8 +2474,12 @@ if test -z "$ssl_backends" -o "x$OPT_WOLFSSL" != xno; 
                       [if you have wolfSSL_DES_ecb_encrypt])
             if test -n "$addcflags"; then
-              CPPFLAGS="$addcflags/wolfssl $CPPFLAGS"
-              AC_MSG_NOTICE([Add $addcflags/wolfssl to CPPFLAGS])
+              dnl use a for loop to strip off whitespace
+              for f in $addcflags; do
+                CPPFLAGS="$f/wolfssl $CPPFLAGS"
+                AC_MSG_NOTICE([Add $f/wolfssl to CPPFLAGS])
+                break
+              done
               dnl user didn't give a path, so guess/hope they installed wolfssl
               dnl headers to system default location

To stop receiving notification emails like this one, please contact

reply via email to

[Prev in Thread] Current Thread [Next in Thread]