diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2022-10-03 16:10:42 -0700 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2022-10-03 16:10:42 -0700 |
| commit | 5e4854cbf8d8a9b056472967d15e1021d36fcae1 (patch) | |
| tree | 91c838643cf1b1f1ed9c509a64bfdf5c5ad696b6 /rescue | |
| parent | c2e561a38f739a4801d652f4b662cdc1903244f0 (diff) | |
rescue: Link libzutil after libzfs.
libzfs depends on symbols defined in libzutil. For static linking
ld.bfd is less forgiving than lld, so rescue was failing to link when
using ld.bfd due to unresolved symbols from libzutil used by libzfs.
Reviewed by: imp, kib, emaste
Differential Revision: https://reviews.freebsd.org/D36811
Diffstat (limited to 'rescue')
| -rw-r--r-- | rescue/rescue/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rescue/rescue/Makefile b/rescue/rescue/Makefile index 3c758a41f294..cc4c13c0a624 100644 --- a/rescue/rescue/Makefile +++ b/rescue/rescue/Makefile @@ -140,8 +140,8 @@ CRUNCH_LIBS+= -l80211 -lalias -lcam -lncursesw -ldevstat -lipsec -llzma CRUNCH_LIBS+= -lavl -lpthread -luutil -lumem -ltpool -lspl CRUNCH_LIBS_zfs+= ${LIBBE} \ ${LIBZPOOL} \ - ${LIBZUTIL} \ ${LIBZFS} \ + ${LIBZUTIL} \ ${LIBZFS_CORE} \ ${LIBZFSBOOTENV} \ ${LIBICP_RESCUE} \ |
