diff --git a/chapter08/readline.xml b/chapter08/readline.xml
index dca718219..76237236a 100644
--- a/chapter08/readline.xml
+++ b/chapter08/readline.xml
@@ -121,11 +121,11 @@ sed -i '/{OLDSUFF}/c:' support/shlib-install
Compile the package:
-make
+make SHLIB_LIBS="-lncursesw"
Install the package:
-make DESTDIR=$PWD/DESTDIR install
+make SHLIB_LIBS="-lncursesw" DESTDIR=$PWD/DESTDIR install
cp -Rv DESTDIR/usr/lib32/* /usr/lib32
rm -rf DESTDIR
@@ -152,11 +152,11 @@ rm -rf DESTDIR
Compile the package:
-make
+make SHLIB_LIBS="-lncursesw"
Install the package:
-make DESTDIR=$PWD/DESTDIR install
+make SHLIB_LIBS="-lncursesw" DESTDIR=$PWD/DESTDIR install
cp -Rv DESTDIR/usr/libx32/* /usr/libx32
rm -rf DESTDIR