diff options
author | Xi Ruoyao <xry111@mengyan1223.wang> | 2021-02-03 09:25:21 +0000 |
---|---|---|
committer | Xi Ruoyao <xry111@mengyan1223.wang> | 2021-02-03 09:25:21 +0000 |
commit | cd152f22770796527d3203b4b0b85abef43e018f (patch) | |
tree | 5b71c74520ae1f2bd8140c6694d88c115e63d054 /chapter08/ncurses.xml | |
parent | 1f460e53b4186579f9ec20622356910580663ab3 (diff) |
remove unneeded static libraries
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12122 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter08/ncurses.xml')
-rw-r--r-- | chapter08/ncurses.xml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/chapter08/ncurses.xml b/chapter08/ncurses.xml index d0036c7de..53527003d 100644 --- a/chapter08/ncurses.xml +++ b/chapter08/ncurses.xml @@ -41,10 +41,6 @@ <sect2 role="installation"> <title>Installation of Ncurses</title> - <para>Don't install a static library that is not handled by configure:</para> - -<screen><userinput remap="pre">sed -i '/LIBTOOL_INSTALL/d' c++/Makefile.in</userinput></screen> - <para>Prepare Ncurses for compilation:</para> <screen><userinput remap="configure">./configure --prefix=/usr \ @@ -133,6 +129,10 @@ done</userinput></screen> echo "INPUT(-lncursesw)" > /usr/lib/libcursesw.so ln -sfv libncurses.so /usr/lib/libcurses.so</userinput></screen> + <para>Remove a static library that is not handled by configure:</para> + +<screen><userinput remap="install">rm -fv /usr/lib/libncurses++w.a</userinput></screen> + <para>If desired, install the Ncurses documentation:</para> <screen><userinput remap="install">mkdir -v /usr/share/doc/ncurses-&ncurses-version; @@ -188,7 +188,6 @@ cp -av lib/lib*.so.5* /usr/lib</userinput></screen> libformw.so, libmenuw.so, libncursesw.so, - libncurses++w.a, libpanelw.so, and their non-wide-character counterparts without "w" in the library names.</seg> <seg> |