From 950f5983e896c1811e0af910be2b2faa2d50deea Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Tue, 3 May 2011 18:15:02 +0200 Subject: [PATCH] ncurses: improved to generate separate terminfo library --- base/ncurses/ncurses.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/base/ncurses/ncurses.conf b/base/ncurses/ncurses.conf index b293a8371..48e8db947 100644 --- a/base/ncurses/ncurses.conf +++ b/base/ncurses/ncurses.conf @@ -117,10 +117,10 @@ make_termcap_symlinks() { echo "Creating compatibility symlinks for termcap." if [ "$SDECFG_STATIC" != 1 ]; then - ln -svf libncurses.so $root$libdir/libtermcap.so + ln -svf libtinfo.so $root$libdir/libtermcap.so fi - ln -svf libncurses.a $root$libdir/libtermcap.a + ln -svf libtinfo.a $root$libdir/libtermcap.a } if atstage toolchain; then @@ -175,6 +175,8 @@ else var_append extraconfopt " " "--disable-termcap" hook_add inmake 5 "remove_include_termcap" else + # generate separate terminfo library + var_append extraconfopt " " "--with-termlib" hook_add postmake 6 "make_termcap_symlinks" fi