aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/libcap.xml
diff options
context:
space:
mode:
authorDouglas R. Reno <renodr@linuxfromscratch.org>2021-05-11 23:24:11 -0500
committerDouglas R. Reno <renodr@linuxfromscratch.org>2021-05-11 23:24:11 -0500
commitd7a942197e713339d4dc1eedab4dafd4179a5cd8 (patch)
tree48aba90323070adb9a54e83ce1ebed902d0b19c3 /chapter08/libcap.xml
parent0f7d4cb8a734227ea85f46c5b934ed1b85a51b3c (diff)
Merge Xi's changes into trunk
Update to meson-0.58.0 Update to systemd-248 Update to gcc-11.1.0 Update to linux-5.12.1 Update to iproute2-5.12.0 Update to Python-3.9.5 Make /bin, /sbin, and /lib symlinks to their counterparts in /usr. Thanks again for a significant portion of this work goes to Xi, I only really merged it and made a couple of modifications for my updates. To LFS 11.x we go!
Diffstat (limited to 'chapter08/libcap.xml')
-rw-r--r--chapter08/libcap.xml16
1 files changed, 7 insertions, 9 deletions
diff --git a/chapter08/libcap.xml b/chapter08/libcap.xml
index f3b6c0074..d8fc15175 100644
--- a/chapter08/libcap.xml
+++ b/chapter08/libcap.xml
@@ -69,15 +69,13 @@
<screen><userinput remap="test">make test</userinput></screen>
- <para>Install the package and make sure the essential libraries are in
- the correct directory:</para>
-
-<screen><userinput remap="install">make prefix=/usr lib=lib install
-for libname in cap psx; do
- mv -v /usr/lib/lib${libname}.so.* /lib
- ln -sfv ../../lib/lib${libname}.so.2 /usr/lib/lib${libname}.so
- chmod -v 755 /lib/lib${libname}.so.&libcap-version;
-done</userinput></screen>
+ <para>Install the package:</para>
+
+<screen><userinput remap="install">make prefix=/usr lib=lib install</userinput></screen>
+
+ <para>Adjust the permission of the shared libraries:</para>
+
+<screen><userinput remap="install">chmod -v 755 /usr/lib/lib{cap,psx}.so.&libcap-version;</userinput></screen>
</sect2>