Skip to content

Commit

Permalink
rescue: Don't explicitly link with libsys
Browse files Browse the repository at this point in the history
libpthread contains the symbols we need when statically linked.  This
was a leftover from a prior version of ef9871c that I failed to
remove before I pushed.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D43782
  • Loading branch information
brooksdavis committed Feb 7, 2024
1 parent d04abb0 commit 82bebc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rescue/rescue/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ CRUNCH_PROGS_usr.sbin+= zdb

CRUNCH_LIBS+= -l80211 -lalias -lcam -lncursesw -ldevstat -lipsec -llzma
.if ${MK_ZFS} != "no"
CRUNCH_LIBS+= -lavl -lpthread -lsys -luutil -lumem -ltpool -lspl -lrt
CRUNCH_LIBS+= -lavl -lpthread -luutil -lumem -ltpool -lspl -lrt
CRUNCH_LIBS_zfs+= ${LIBBE} \
${LIBZPOOL} \
${LIBZFS} \
Expand All @@ -156,7 +156,7 @@ CRUNCH_LIBS_zpool+= ${CRUNCH_LIBS_zfs}
CRUNCH_LIBS_zdb+= ${CRUNCH_LIBS_zfs}
.else
# liblzma needs pthread
CRUNCH_LIBS+= -lpthread -lsys
CRUNCH_LIBS+= -lpthread
.endif
CRUNCH_LIBS+= -lgeom -lbsdxml -lkiconv
.if ${MK_OPENSSL} == "no"
Expand Down

0 comments on commit 82bebc7

Please sign in to comment.