python3: use pkgconfig to find readline
authorRosen Penev <rosenp@gmail.com>
Tue, 2 Jul 2024 00:00:35 +0000 (17:00 -0700)
committerRosen Penev <rosenp@gmail.com>
Fri, 12 Jul 2024 20:10:49 +0000 (13:10 -0700)
commitd257ffe609e6e226d64139bb1b802cba852c6cfb
treefb4844c0553e079f9fc98da8414b815fd3e45ed2
parent434cdf4a755258928caf76838cb82c85cf3b0db0
python3: use pkgconfig to find readline

When searching for readline, ncurses is needed, which can be ncursesw or
ncurses. Use pkgconfig to avoid the whole situation and simplify.

Also add readline/host as the OS one may be unusable.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lang/python/python3/Makefile
lang/python/python3/patches/010-no-ncursesw.patch [new file with mode: 0644]