From 13916064fc393757635cc8a45f780790266e8a91 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Fri, 11 Feb 2022 13:58:59 -0800 Subject: [PATCH] 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 --- rescue/rescue/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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