git: b158d4d7a12f - main - rescue: fix after with to a ldscript of libncursesw.a

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Sun, 10 Oct 2021 07:12:18 UTC
The branch main has been updated by bapt:

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

commit b158d4d7a12fad8e9c4509466d5f1ebd15862d9f
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2021-10-10 06:53:41 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2021-10-10 06:53:41 +0000

    rescue: fix after with to a ldscript of libncursesw.a
---
 rescue/rescue/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rescue/rescue/Makefile b/rescue/rescue/Makefile
index f2aa614f1dfc..42094340e768 100644
--- a/rescue/rescue/Makefile
+++ b/rescue/rescue/Makefile
@@ -131,7 +131,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 -ldevstat -lipsec -llzma
+CRUNCH_LIBS+= -l80211 -lalias -lcam -lncursesw_real -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