Browse Source

configure.ac: fix openssl header circular dependency detector to work on out-of-tree builds.

Daniel Pouzzner 1 year ago
parent
commit
a7d9ea7550
1 changed files with 1 additions and 1 deletions
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -8721,7 +8721,7 @@ if test "$ENABLED_OPENSSLEXTRA" = "yes"
 then
     SAVE_CFLAGS=$CFLAGS
     CFLAGS="$CFLAGS -I$srcdir"
-    for header in wolfssl/openssl/*.h
+    for header in "${srcdir}"/wolfssl/openssl/*.h
     do
         AC_CHECK_HEADER([$header], [], [
                 AC_MSG_ERROR([Error including $header. Possible circular dependency introduced or missing include.])