aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/libcap.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2015-03-15 23:29:31 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2015-03-15 23:29:31 +0000
commit73b2841ee14caae80ea8a2bbaa1cb7e2c21e666f (patch)
tree7dc2c4199ab23e128b141d92c136308eb4288edc /chapter06/libcap.xml
parentecd016b289961104c34b226600ed5e3e943d7f40 (diff)
Remove non-essential static libraries from the installation. Added a new
section in Chapter 6 Introduction, supressed many static libraries in different packages, and removed the remaining in the Cleaning Up section. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10880 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/libcap.xml')
-rw-r--r--chapter06/libcap.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/chapter06/libcap.xml b/chapter06/libcap.xml
index 1a71b7b28..202a4b3a4 100644
--- a/chapter06/libcap.xml
+++ b/chapter06/libcap.xml
@@ -43,6 +43,10 @@
<sect2 role="installation">
<title>Installation of Libcap</title>
+ <para>Prevent a static library from being installed:</para>
+
+<screen><userinput remap="pre">sed -i '/install.*STALIBNAME/d' libcap/Makefile</userinput></screen>
+
<para>Compile the package:</para>
<screen><userinput remap="make">make</userinput></screen>