From: Johannes Berg <johannes.berg@xxxxxxxxx> Upstream commit d58be321df286371d50ed54e835efeea087a9fac We ship it, so we should use it. This should fix issues like one distro needing "-lncurses -ltinfo" and others requiring just "-lncurses" and not having "tinfo". Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx> Signed-off-by: Luis R. Rodriguez <mcgrof@xxxxxxxxxxxxxxxx> Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- backport/kconfig/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backport/kconfig/Makefile b/backport/kconfig/Makefile index ff5c270..dfd793a 100644 --- a/backport/kconfig/Makefile +++ b/backport/kconfig/Makefile @@ -3,7 +3,7 @@ CFLAGS=-Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer LXDIALOG := lxdialog/checklist.o lxdialog/inputbox.o lxdialog/menubox.o lxdialog/textbox.o lxdialog/util.o lxdialog/yesno.o conf: conf.o zconf.tab.o -mconf: LDFLAGS = -Wl,--no-as-needed -lncurses -ltinfo +mconf: LDFLAGS = -Wl,--no-as-needed $(shell ./lxdialog/check-lxdialog.sh -ldflags $(CC)) mconf: CFLAGS += -DCURSES_LOC="<ncurses.h>" -DLOCALE mconf: mconf.o zconf.tab.o $(LXDIALOG) -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html