Skip to content

Commit

Permalink
Make sure ncurses symlinks match version number.
Browse files Browse the repository at this point in the history
  • Loading branch information
lancethepants committed May 22, 2019
1 parent 63ade35 commit 7d15445
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,8 @@ fi
########### #################################################################

NCURSES_VERSION=6.1
M=${NCURSES_VERSION%.*}
m=${NCURSES_VERSION#*.}

cd $SRC/ncurses

Expand Down Expand Up @@ -528,8 +530,8 @@ fi
if [ ! -f .linked ]; then
ln -sf libncursesw.a $DEST/lib/libncurses.a
ln -sf libncursesw.so $DEST/lib/libncurses.so
ln -sf libncursesw.so.6 $DEST/lib/libncurses.so.6
ln -sf libncursesw.so.6.0 $DEST/lib/libncurses.so.6.0
ln -sf libncursesw.so.$M $DEST/lib/libncurses.so.$M
ln -sf libncursesw.so.$M.$m $DEST/lib/libncurses.so.$M.$m
ln -sf libncurses++w.a $DEST/lib/libncurses++.a
ln -sf libncursesw_g.a $DEST/lib/libncurses_g.a
ln -sf libncursesw.a $DEST/lib/libcurses.a
Expand Down

0 comments on commit 7d15445

Please sign in to comment.