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 2024-02-12 15:10:37 -07:00
parent b75bb99621
commit bd45bbe440

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