summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRosen Penev2024-07-09 21:06:57 +0000
committerRobert Marko2024-07-10 07:39:32 +0000
commit2beadefaa087be7575ac4b5bda6733632ac4fc30 (patch)
treee9e3a27bac97dd65d530fcdcbb0f7f8e869597f6
parent3c95641366f78e34bbf147da5840d7d3217ac4e1 (diff)
downloadopenwrt-2beadefaa087be7575ac4b5bda6733632ac4fc30.tar.gz
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@gmail.com> Link: https://github.com/openwrt/openwrt/pull/15916 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--package/libs/readline/Makefile3
1 files changed, 3 insertions, 0 deletions
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 \