From 6b508c4e039619842bcf5a16f8a6b08dd6bec44a Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Wed, 1 Feb 2023 12:12:05 +1100 Subject: [PATCH] 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@ --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 6e1de3c75..22fee70f6 100644 --- a/configure.ac +++ b/configure.ac @@ -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 \