summaryrefslogtreecommitdiff
path: root/rescue
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-02-11 13:58:59 -0800
committerJohn Baldwin <jhb@FreeBSD.org>2022-02-11 13:58:59 -0800
commit13916064fc393757635cc8a45f780790266e8a91 (patch)
treec87c020eb3a886ea36f9ea4b19b997fab501bd42 /rescue
parent3e65b7d94dfc866cfa3f725ddbe44c8bef525d6c (diff)
rescue: Link with -lncursesw instead of -lncursesw_real.
ld.bfd fails to link rescue with undefined symbol errors otherwise. This reverts commit b158d4d7a12fad8e9c4509466d5f1ebd15862d9f. Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D34123
Diffstat (limited to 'rescue')
-rw-r--r--rescue/rescue/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/rescue/rescue/Makefile b/rescue/rescue/Makefile
index 938712371061..216656be36a9 100644
--- a/rescue/rescue/Makefile
+++ b/rescue/rescue/Makefile
@@ -135,7 +135,7 @@ CRUNCH_PROGS_usr.sbin+= zdb
# crunchgen does not like C++ programs; this should be fixed someday
# CRUNCH_PROGS+= devd
-CRUNCH_LIBS+= -l80211 -lalias -lcam -lncursesw_real -ldevstat -lipsec -llzma
+CRUNCH_LIBS+= -l80211 -lalias -lcam -lncursesw -ldevstat -lipsec -llzma
.if ${MK_ZFS} != "no"
CRUNCH_LIBS+= -lavl -lzpool -lzfs_core -lzfs -lnvpair -lpthread -luutil -lumem
CRUNCH_LIBS+= -lbe -lzfsbootenv -lzutil -ltpool -lspl -licp_rescue