From 2beadefaa087be7575ac4b5bda6733632ac4fc30 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 9 Jul 2024 14:06:57 -0700 Subject: [PATCH] readline: override termlib for host For some reason, it's not working right locally. Override as is done with the target build. Signed-off-by: Rosen Penev Link: https://github.com/openwrt/openwrt/pull/15916 Signed-off-by: Robert Marko --- package/libs/readline/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/libs/readline/Makefile b/package/libs/readline/Makefile index 3ab28712af4..11b9e0172f8 100644 --- a/package/libs/readline/Makefile +++ b/package/libs/readline/Makefile @@ -48,6 +48,9 @@ endef HOST_CONFIGURE_ARGS += --disable-shared --with-pic CONFIGURE_ARGS += --with-curses --disable-install-examples +HOST_CONFIGURE_VARS += \ + bash_cv_termcap_lib=libncurses + CONFIGURE_VARS += \ bash_cv_wcwidth_broken=no \ bash_cv_func_sigsetjmp=yes \