git: 13916064fc39 - main - rescue: Link with -lncursesw instead of -lncursesw_real.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 11 Feb 2022 22:00:02 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=13916064fc393757635cc8a45f780790266e8a91

commit 13916064fc393757635cc8a45f780790266e8a91
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-02-11 21:58:59 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-02-11 21:58:59 +0000

    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