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/zlib.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/zlib.xml')
-rw-r--r-- | chapter08/zlib.xml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chapter08/zlib.xml b/chapter08/zlib.xml index 90c343ca5..f00988468 100644 --- a/chapter08/zlib.xml +++ b/chapter08/zlib.xml @@ -65,6 +65,10 @@ <screen><userinput remap="install">mv -v /usr/lib/libz.so.* /lib ln -sfv ../../lib/$(readlink /usr/lib/libz.so) /usr/lib/libz.so</userinput></screen> + <para>Remove an useless static library:</para> + +<screen><userinput remap="install">rm -fv /usr/lib/libz.a</userinput></screen> + </sect2> <sect2 id="contents-zlib" role="content"> @@ -74,7 +78,7 @@ ln -sfv ../../lib/$(readlink /usr/lib/libz.so) /usr/lib/libz.so</userinput></scr <segtitle>Installed libraries</segtitle> <seglistitem> - <seg>libz.{a,so}</seg> + <seg>libz.so</seg> </seglistitem> </segmentedlist> |