Skip to content

Commit efe562c

Browse files
Merge pull request #121 from kaleb-himes/fix-clu-w-fips-test
Fix configure error that can't locate libwolfssl when using custom install location
2 parents 1694b7f + 3954458 commit efe562c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

configure.ac

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ AC_ARG_WITH(wolfssl,
9595
if test "x$withval" != "xno" ; then
9696
if test -d "${withval}/lib" && test -d "${withval}/include"; then
9797
wcpath=${withval}
98+
LDFLAGS="$LDFLAGS -L${wcpath}/lib"
9899
AM_LDFLAGS="$AM_LDFLAGS -L${wcpath}/lib"
100+
CPPFLAGS="$CPPFLAGS -I${wcpath}/include"
99101
AM_CPPFLAGS="$AM_CPPFLAGS -I${wcpath}/include"
100102
else
101103
AC_MSG_ERROR([wolfSSL path error (${withval}): missing lib and include])

0 commit comments

Comments
 (0)