From 820278a0c83099832527e06e771c64990743f293 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Sun, 19 Oct 2014 22:38:03 +0300 Subject: [PATCH] python: use libncursesw instead of libncurses Python's build scripts prefer ncursesw, and if it is detected it will be used. The problem will occur when linking, since ncursesw libs may not be installed if not added as deps, but the sources will be compiled against ncursesw. Reference from Python's HISTORY file: Patch #1428494: Prefer linking against ncursesw over ncurses library. Signed-off-by: Alexandru Ardelean --- lang/python/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/python/Makefile b/lang/python/Makefile index 02f5a3b05f..edecefe1d4 100644 --- a/lang/python/Makefile +++ b/lang/python/Makefile @@ -126,13 +126,13 @@ endef define Package/python-readline $(call Package/python/Default) TITLE:=Python support for readline - DEPENDS:=@PACKAGE_python +PACKAGE_python:python +libreadline +libncurses @BROKEN + DEPENDS:=@PACKAGE_python +PACKAGE_python:python +libreadline +libncursesw @BROKEN endef define Package/python-ncurses $(call Package/python/Default) TITLE:=Python support for readline - DEPENDS:=@PACKAGE_python +PACKAGE_python:python +libncurses + DEPENDS:=@PACKAGE_python +PACKAGE_python:python +libncursesw endef MAKE_FLAGS:=\ -- 2.30.2