Build libfido2 after all other libraries, as it links against one of
authorpatrick <patrick@openbsd.org>
Wed, 1 Dec 2021 07:36:03 +0000 (07:36 +0000)
committerpatrick <patrick@openbsd.org>
Wed, 1 Dec 2021 07:36:03 +0000 (07:36 +0000)
the other libraries, so we have to build those first.

Initial report and diff from uaa@
ok anton@ deraadt@ millert@

lib/Makefile

index 7f95cb1..8ce408f 100644 (file)
@@ -1,11 +1,14 @@
-#      $OpenBSD: Makefile,v 1.81 2021/01/02 20:04:36 patrick Exp $
+#      $OpenBSD: Makefile,v 1.82 2021/12/01 07:36:03 patrick Exp $
 #      $NetBSD: Makefile,v 1.20.4.1 1996/06/14 17:22:38 cgd Exp $
 
 SUBDIR=        csu libagentx libarch libc libcbor libcrypto libcurses \
        libedit libelf libevent libexpat \
-       libfido2 libform libfuse libkeynote libkvm libl libm libmenu \
+       libform libfuse libkeynote libkvm libl libm libmenu \
        libossaudio libpanel libpcap libradius librthread \
        librpcsvc libskey libsndio libssl libtls libusbhid \
        libutil liby libz
 
+# Phase 2
+SUBDIR+=libfido2
+
 .include <bsd.subdir.mk>