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