summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/readline
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2021-09-01 18:23:41 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-09-03 09:53:29 +0100
commit6265c8543b9820398d986ec63ba1c70cba4f4fe7 (patch)
tree970d27d589f15a1f0e55f3abd82b1ae235259e30 /meta/recipes-core/readline
parentacec2d26d6e145434e07217e4179e1bb2c1b813b (diff)
downloadpoky-6265c8543b9820398d986ec63ba1c70cba4f4fe7.tar.gz
readline: correct pkg-config dependency for termcap
readline uses ncurses for terminal capabilities database, but it fails to specify it correctly in the pkg-config .pc file, resulting in: Requires.private: termcap As ncurses by default provides newer terminfo instead of termcap, there's no termcap.pc in the system and pkg-config fails when linking with readline: readline.pc X-> termcap.pc Help configure script to set pkg-config to use ncurses for the correct terminal capabilities database: Requires.private: ncurses This fixes pkg-config dependency chain: readline.pc -> ncurses.pc -> tinfo.pc (From OE-Core rev: b4364cc44ae47d3b41a4fd181c904ae97e213842) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/readline')
-rw-r--r--meta/recipes-core/readline/readline.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/readline/readline.inc b/meta/recipes-core/readline/readline.inc
index 7f7f5ad2ee..569e4ff6e9 100644
--- a/meta/recipes-core/readline/readline.inc
+++ b/meta/recipes-core/readline/readline.inc
@@ -18,6 +18,7 @@ SRC_URI += "file://inputrc"
18inherit autotools texinfo 18inherit autotools texinfo
19 19
20EXTRA_AUTORECONF += "--exclude=autoheader" 20EXTRA_AUTORECONF += "--exclude=autoheader"
21EXTRA_OECONF += "bash_cv_termcap_lib=ncurses"
21 22
22LEAD_SONAME = "libreadline.so" 23LEAD_SONAME = "libreadline.so"
23 24