git: 93942379cced - main - Avoid building libfido2 if WITHOUT_USB
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 26 Oct 2021 21:20:04 UTC
The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=93942379cced89ad4ac653f262ac8277a8550853 commit 93942379cced89ad4ac653f262ac8277a8550853 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2021-10-26 21:15:54 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2021-10-26 21:17:56 +0000 Avoid building libfido2 if WITHOUT_USB libfido2 requires USB, so disable it if not available. Reported by: peterj Fixes: 7b1e19ad78c6 ("Add libfido2 to the build") Sponsored by: The FreeBSD Foundation --- lib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Makefile b/lib/Makefile index 81ace36ba990..3f30917173af 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -215,7 +215,7 @@ SUBDIR.${MK_BHYVE}+= libvmmapi .if ${MACHINE_ARCH} != "powerpc" SUBDIR.${MK_OPENMP}+= libomp .endif -.if !defined(COMPAT_32BIT) +.if !defined(COMPAT_32BIT) && ${MK_USB} != "no" SUBDIR.${MK_OPENSSH}+= libcbor libfido2 .endif SUBDIR.${MK_OPENSSL}+= libmp