fix libfido2 detection without pkg-config

Place libfido2 before additional libraries (that it may depend upon)
and not after. bz3530 from James Zhang; ok dtucker@
This commit is contained in:
Damien Miller 2023-02-01 12:12:05 +11:00
parent 358e300fed
commit 6b508c4e03
No known key found for this signature in database

View File

@ -3245,7 +3245,7 @@ if test "x$enable_sk" = "xyes" -a "x$enable_sk_internal" != "xno" ; then
[Enable for built-in U2F/FIDO support])
enable_sk="built-in"
saved_LIBS="$LIBS"
LIBS="$LIBS $LIBFIDO2"
LIBS="$LIBFIDO2 $LIBS"
AC_CHECK_FUNCS([ \
fido_assert_set_clientdata \
fido_cred_prot \