git: bd45bbe440f1 - main - rescue: Fix after zfsbootcfg addition
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 12 Feb 2024 22:59:32 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=bd45bbe440f19eeb166a13798c8dcc4dfeb29e36
commit bd45bbe440f19eeb166a13798c8dcc4dfeb29e36
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-02-12 22:10:37 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-02-12 22:59:14 +0000
rescue: Fix after zfsbootcfg addition
Get the library dependencies correct for zfsbootcfg. libzfsbootcfg
depends on a all of these...
Fixes: ac4847e6b0e9
Sponsored by: Netflix
---
rescue/rescue/Makefile | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/rescue/rescue/Makefile b/rescue/rescue/Makefile
index 4c351e632638..5d5c609eb218 100644
--- a/rescue/rescue/Makefile
+++ b/rescue/rescue/Makefile
@@ -148,7 +148,13 @@ CRUNCH_LIBS_zfs+= ${LIBBE} \
CRUNCH_LIBS_bectl+= ${CRUNCH_LIBS_zfs}
CRUNCH_LIBS_zpool+= ${CRUNCH_LIBS_zfs}
CRUNCH_LIBS_zdb+= ${CRUNCH_LIBS_zfs} ${LIBZDB}
-CRUNCH_LIBS_zfsbootcfg+=${LIBZFSBOOTENV}
+CRUNCH_LIBS_zfsbootcfg+=${LIBZFSBOOTENV} \
+ ${LIBZPOOL} \
+ ${LIBZFS} \
+ ${LIBZUTIL} \
+ ${LIBZFS_CORE} \
+ ${LIBICP_RESCUE} \
+ ${LIBNVPAIR}
.else
# liblzma needs pthread
CRUNCH_LIBS+= -lpthread