Browse Source

ncurses: improved to generate separate terminfo library

stable/0.2
Christian Wiese 14 years ago
parent
commit
950f5983e8
  1. 6
      base/ncurses/ncurses.conf

6
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

Loading…
Cancel
Save