Zero out LIBFIDO2 when SK support not usable.

Prevents us from trying to link them into ssh-sk-helper and failing to
build.
This commit is contained in:
Darren Tucker 2022-06-25 12:16:15 +10:00
parent 40f5d849d2
commit 193c6d8d90

View File

@ -3255,7 +3255,7 @@ if test "x$enable_sk" = "xyes" -a "x$enable_sk_internal" != "xno" ; then
if test "x$enable_sk_internal" = "xyes" ; then
AC_MSG_ERROR([No usable libfido2 library/headers found])
fi
enable_sk=no
LIBFIDO2=""
else
AC_MSG_RESULT([yes])
AC_SUBST([LIBFIDO2])