From fe039b5f7846615590c84b03ba8fe05be115e0bf Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Mon, 6 Jul 2020 20:47:01 +0000 Subject: Match ncurses chapter 6 to what is done in chapter 8, and add explanations git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11994 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/ncurses.xml | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) (limited to 'chapter06') diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml index 5c48b3619..36513603c 100644 --- a/chapter06/ncurses.xml +++ b/chapter06/ncurses.xml @@ -120,9 +120,33 @@ popd make Install the package: - + make DESTDIR=$LFS TIC_PATH=$(pwd)/build/progs/tic install -ln -s libncursesw.so $LFS/usr/lib/libncurses.so +echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so + + + The meaning of the install options: + + + TIC_PATH=$(pwd)/build/progs/tic + + We need to pass the path of the just built + tic able to run on the building machine, so that + the terminal database can be created without errors. + + + + + echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so + + The libncurses.so library is needed by + a few packages we will build soon. We create this small linker + script, as this is what is done in . + + + + Move the shared libraries to the /lib directory, where they are -- cgit v1.2.3-54-g00ecf