mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 00:33:30 +00:00
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
This commit is contained in:
parent
c2e561a38f
commit
5e4854cbf8
@ -140,8 +140,8 @@ CRUNCH_LIBS+= -l80211 -lalias -lcam -lncursesw -ldevstat -lipsec -llzma
|
|||||||
CRUNCH_LIBS+= -lavl -lpthread -luutil -lumem -ltpool -lspl
|
CRUNCH_LIBS+= -lavl -lpthread -luutil -lumem -ltpool -lspl
|
||||||
CRUNCH_LIBS_zfs+= ${LIBBE} \
|
CRUNCH_LIBS_zfs+= ${LIBBE} \
|
||||||
${LIBZPOOL} \
|
${LIBZPOOL} \
|
||||||
${LIBZUTIL} \
|
|
||||||
${LIBZFS} \
|
${LIBZFS} \
|
||||||
|
${LIBZUTIL} \
|
||||||
${LIBZFS_CORE} \
|
${LIBZFS_CORE} \
|
||||||
${LIBZFSBOOTENV} \
|
${LIBZFSBOOTENV} \
|
||||||
${LIBICP_RESCUE} \
|
${LIBICP_RESCUE} \
|
||||||
|
Loading…
Reference in New Issue
Block a user