MC will link against ncursesw instead of ncurses if it finds it. Make sure
it always links only against ncurses.

Closes #9225 and #9315.

Signed-off-by: Jonas Gorski <jonas.gorski+open...@gmail.com>
---
 utils/mc/Makefile |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/utils/mc/Makefile b/utils/mc/Makefile
index 42b2e17..6bcd419 100644
--- a/utils/mc/Makefile
+++ b/utils/mc/Makefile
@@ -45,7 +45,8 @@ CONFIGURE_ARGS += \
        --without-edit \
        --without-gpm-mouse \
        --without-subshell \
-       --without-x
+       --without-x \
+       ac_cv_search_addwstr=no
 
 AM_HOST=$(firstword $(wildcard $(STAGING_DIR_HOST)/share/automake-*))
 
-- 
1.7.2.5

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to