aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8
diff options
context:
space:
mode:
Diffstat (limited to 'chapter8')
-rw-r--r--chapter8/ncurses.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/chapter8/ncurses.sh b/chapter8/ncurses.sh
index c7ba368..2b82d69 100644
--- a/chapter8/ncurses.sh
+++ b/chapter8/ncurses.sh
@@ -7,14 +7,16 @@ set -e
--without-debug \
--without-normal \
--enable-pc-files \
- --enable-widec &&
+ --enable-widec \
+ --with-termlib \
+ --disable-tic-depends &&
make &&
make -j1 install &&
mv -v /usr/lib/libncursesw.so.6* /lib &&
ln -sfv ../../lib/"$(readlink /usr/lib/libncursesw.so)" /usr/lib/libncursesw.so &&
-for lib in ncurses form panel menu ; do
+for lib in ncurses form panel menu tinfo ; do
rm -vf /usr/lib/lib"${lib}".so &&
echo "INPUT(-l${lib}w)" > /usr/lib/lib"${lib}".so &&
ln -sfv "${lib}"w.pc /usr/lib/pkgconfig/"${lib}".pc