aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2024-02-07 19:58:33 +0000
committerBrooks Davis <brooks@FreeBSD.org>2024-02-07 21:06:20 +0000
commit82bebc7936581e9c4ff3604d4cb998f8cc017f50 (patch)
treee1b7f0a1bdc36db96d9a9345d361f8b1a1b25092
parentd04abb05375d3525132f1e9f78090db3d0d27f14 (diff)
downloadsrc-82bebc7936581e9c4ff3604d4cb998f8cc017f50.tar.gz
src-82bebc7936581e9c4ff3604d4cb998f8cc017f50.zip
rescue: Don't explicitly link with libsys
libpthread contains the symbols we need when statically linked. This was a leftover from a prior version of ef9871c6205c that I failed to remove before I pushed. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D43782
-rw-r--r--rescue/rescue/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/rescue/rescue/Makefile b/rescue/rescue/Makefile
index 76810a903856..7bf3299f4d48 100644
--- a/rescue/rescue/Makefile
+++ b/rescue/rescue/Makefile
@@ -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} \
@@ -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"