diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2020-03-02 18:27:41 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2020-03-02 18:27:41 +0000 |
commit | d9447c15c151ab1e46796bf069545a4fb521e3b0 (patch) | |
tree | 0dafe57a30615be4b32903b1dcfcb0e6e8a9186f /chapter06 | |
parent | c173f88d858feffe4b2853855b5454aa2b9fffb0 (diff) |
Update to libcap-2.32.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11772 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/libcap.xml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/chapter06/libcap.xml b/chapter06/libcap.xml index 6ec48c5ad..74704650d 100644 --- a/chapter06/libcap.xml +++ b/chapter06/libcap.xml @@ -43,9 +43,9 @@ <sect2 role="installation"> <title>Installation of Libcap</title> - <para>Prevent two static libraries from being installed:</para> + <para>Prevent a static library from being installed:</para> -<screen><userinput remap="pre">sed -i '/install.*STA...LIBNAME/d' libcap/Makefile</userinput></screen> +<screen><userinput remap="pre">sed -i '/install.*STACAPLIBNAME/d' libcap/Makefile</userinput></screen> <para>Compile the package:</para> @@ -69,10 +69,13 @@ <screen><userinput remap="test">make test</userinput></screen> - <para>Install the package:</para> + <para>Install the package and do some cleanup:</para> <screen><userinput remap="install">make lib=lib install -chmod -v 755 /lib/libcap.so.&libcap-version;</userinput></screen> +chmod -v 755 /lib/libcap.so.&libcap-version; +mv -v /lib/libpsx.a /usr/lib +rm -v /lib/libcap.so +ln -sfv ../../lib/libcap.so.2 /usr/lib/libcap.so</userinput></screen> </sect2> |