Browse Source

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 <ardeleanalex@gmail.com>
lilik-openwrt-22.03
Alexandru Ardelean 10 years ago
parent
commit
820278a0c8
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      lang/python/Makefile

+ 2
- 2
lang/python/Makefile View File

@ -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:=\


Loading…
Cancel
Save