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." echo "Creating compatibility symlinks for termcap."
if [ "$SDECFG_STATIC" != 1 ]; then if [ "$SDECFG_STATIC" != 1 ]; then
ln -svf libncurses.so $root$libdir/libtermcap.so ln -svf libtinfo.so $root$libdir/libtermcap.so
fi fi
ln -svf libncurses.a $root$libdir/libtermcap.a ln -svf libtinfo.a $root$libdir/libtermcap.a
} }
if atstage toolchain; then if atstage toolchain; then
@ -175,6 +175,8 @@ else
var_append extraconfopt " " "--disable-termcap" var_append extraconfopt " " "--disable-termcap"
hook_add inmake 5 "remove_include_termcap" hook_add inmake 5 "remove_include_termcap"
else else
# generate separate terminfo library
var_append extraconfopt " " "--with-termlib"
hook_add postmake 6 "make_termcap_symlinks" hook_add postmake 6 "make_termcap_symlinks"
fi fi

Loading…
Cancel
Save