From bd45bbe440f19eeb166a13798c8dcc4dfeb29e36 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Mon, 12 Feb 2024 15:10:37 -0700 Subject: [PATCH] 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