Ignore:
Timestamp:
11/22/2020 10:34:01 AM (3 years ago)
Author:
Thomas Trepl <thomas@…>
Branches:
multilib-10.1
Children:
f6193295
Parents:
4e579ca2
Message:

Merge changes from trunk to multilib

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@12062 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/libcap.xml

    r4e579ca2 r9f62bc3  
    4444    <title>Installation of Libcap</title>
    4545
    46     <para>Prevent a static library from being installed:</para>
    47 
    48 <screen><userinput remap="pre">sed -i '/install -m.*STACAPLIBNAME/d' libcap/Makefile</userinput></screen>
     46    <para>Prevent static libraries from being installed:</para>
     47
     48<screen><userinput remap="pre">sed -i '/install -m.*STA/d' libcap/Makefile</userinput></screen>
    4949
    5050    <para>Compile the package:</para>
     
    7373
    7474<screen><userinput remap="install">make lib=lib PKGCONFIGDIR=/usr/lib/pkgconfig install
    75 chmod -v 755 /lib/libcap.so.&libcap-version;
    76 mv -v /lib/libpsx.a /usr/lib
    77 rm -v /lib/libcap.so
    78 ln -sfv ../../lib/libcap.so.2 /usr/lib/libcap.so</userinput></screen>
     75for libname in cap psx; do
     76    chmod -v 755 /lib/lib${libname}.so.&libcap-version;
     77    rm -v /lib/lib${libname}.so
     78    ln -sfv ../../lib/lib${libname}.so.2 /usr/lib/lib${libname}.so
     79done</userinput></screen>
    7980
    8081  </sect2>
     
    139140      <seglistitem>
    140141        <seg>capsh, getcap, getpcaps, and setcap</seg>
    141         <seg>libcap.so and libpsx.a</seg>
     142        <seg>libcap.so and libpsx.so</seg>
    142143      </seglistitem>
    143144    </segmentedlist>
Note: See TracChangeset for help on using the changeset viewer.