]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
fix libfido2 detection without pkg-config
authorDamien Miller <djm@mindrot.org>
Wed, 1 Feb 2023 01:12:05 +0000 (12:12 +1100)
committerDamien Miller <djm@mindrot.org>
Wed, 1 Feb 2023 01:14:22 +0000 (12:14 +1100)
Place libfido2 before additional libraries (that it may depend upon)
and not after. bz3530 from James Zhang; ok dtucker@

configure.ac

index 6e1de3c75105c638ec17be4600de03f8357823cb..22fee70f604a2cbabf760d0fbd8c35113e8a645a 100644 (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 \