Browse Source

ncurses: fixed to create compat symlinks for libcurses and libtermcap

Note:

Because we are moving the '/lib/libncurses.so' and '/lib/libtinfo.so'
symlink to '/usr/lib' now, we create the compatibility symlinks for
libcurses and libtermcap so that they are pointing to
libncurses.so.$MAJOVER and libtinfo.so.$MAJORVER
stable/0.2
Christian Wiese 14 years ago
parent
commit
b372806267
  1. 4
      base/ncurses/ncurses.conf

4
base/ncurses/ncurses.conf

@ -106,7 +106,7 @@ make_curses_symlinks() {
echo "Creating compatibility symlinks for curses."
if [ "$SDECFG_STATIC" != 1 ]; then
ln -svf libncurses.so $root$libdir/libcurses.so
ln -svf "$( readlink $root$libdir/libncurses.so )" $root$libdir/libcurses.so
fi
ln -svf libncurses.a $root$libdir/libcurses.a
@ -122,7 +122,7 @@ make_termcap_symlinks() {
echo "Creating compatibility symlinks for termcap."
if [ "$SDECFG_STATIC" != 1 ]; then
ln -svf libtinfo.so $root$libdir/libtermcap.so
ln -svf "$( readlink $root$libdir/libtinfo.so )" $root$libdir/libtermcap.so
fi
ln -svf libtinfo.a $root$libdir/libtermcap.a

Loading…
Cancel
Save