rescue: Fix after zfsbootcfg addition

Get the library dependencies correct for zfsbootcfg. libzfsbootcfg
depends on a all of these...

Fixes:			ac4847e6b0
Sponsored by:		Netflix
This commit is contained in:
Warner Losh committed 2024-02-12 15:59:14 -07:00
1 parent b75bb99621
commit bd45bbe440
1 file changed
+7 -1
+7 -1
View File
@@ -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