[openwrt/openwrt] readline: override termlib for host

LEDE Commits lede-commits at lists.infradead.org
Wed Jul 10 00:39:35 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/2beadefaa087be7575ac4b5bda6733632ac4fc30

commit 2beadefaa087be7575ac4b5bda6733632ac4fc30
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Tue Jul 9 14:06:57 2024 -0700

    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 <rosenp at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/15916
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 package/libs/readline/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/libs/readline/Makefile b/package/libs/readline/Makefile
index 3ab28712af..11b9e0172f 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 \




More information about the lede-commits mailing list