summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2023-02-01 12:12:05 +1100
committerDamien Miller <djm@mindrot.org>2023-02-01 12:14:22 +1100
commit6b508c4e039619842bcf5a16f8a6b08dd6bec44a (patch)
treed38a2589da7556401789cbc0f871f3c382987125
parent358e300fed5e6def233a2c06326e51e20ebed621 (diff)
downloadopenssh-git-6b508c4e039619842bcf5a16f8a6b08dd6bec44a.tar.gz
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@
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 6e1de3c7..22fee70f 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 \