aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/ncurses
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-03-20 19:30:04 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-25 09:33:36 +0100
commit88f33e1e5ba4f85093f60a296cba3ee1c1341c43 (patch)
treeebe6fd82a9fe778eee824e75e4b79ce4efc83dbf /meta/recipes-core/ncurses
parent169d061b313ebb91bf18f09d998a42c4ae165bf8 (diff)
downloadopenembedded-core-contrib-88f33e1e5ba4f85093f60a296cba3ee1c1341c43.tar.gz
openembedded-core-contrib-88f33e1e5ba4f85093f60a296cba3ee1c1341c43.tar.bz2
openembedded-core-contrib-88f33e1e5ba4f85093f60a296cba3ee1c1341c43.zip
ncurses: Abstract out termlib
termlib needs to be disabled on some targets e.g. mingw this change paves the way for doing that. Functionally it does not change anything for other platforms Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-core/ncurses')
-rw-r--r--meta/recipes-core/ncurses/ncurses.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index 0bfd644d18..9d06987d1c 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -59,6 +59,7 @@ EX_TERMCAP_class-nativesdk = ":/etc/termcap:/usr/share/misc/termcap"
EX_TERMINFO = ""
EX_TERMINFO_class-native = ":/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo"
EX_TERMINFO_class-nativesdk = ":/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo"
+EX_TERMLIB ?= "tinfo"
# Helper function for do_configure to allow multiple configurations
# $1 the directory to run configure in
@@ -80,7 +81,7 @@ ncurses_configure() {
--disable-big-core \
--program-prefix= \
--with-ticlib \
- --with-termlib=tinfo \
+ --with-termlib=${EX_TERMLIB} \
--enable-sigwinch \
--enable-pc-files \
--disable-rpath-hack \