Changeset e8c3099


Ignore:
Timestamp:
11/17/2020 02:50:35 PM (11 months ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, ml-11.0, multilib, trunk, xry111/git-transition, xry111/glibc-2.34, xry111/tester-nohack, xry111/usr-move
Children:
bfe0b0b
Parents:
9d9c3fd
Message:

Adapt libcap instruction to the new libpsx.so shared library (was only static
before)

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12061 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/libcap.xml

    r9d9c3fd re8c3099  
    4444    <title>Installation of Libcap</title>
    4545
    46     <para>Prevent a static library from being installed:</para>
     46    <para>Prevent static libraries from being installed:</para>
    4747
    48 <screen><userinput remap="pre">sed -i '/install -m.*STACAPLIBNAME/d' libcap/Makefile</userinput></screen>
     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>
     
    8990      <seglistitem>
    9091        <seg>capsh, getcap, getpcaps, and setcap</seg>
    91         <seg>libcap.so and libpsx.a</seg>
     92        <seg>libcap.so and libpsx.so</seg>
    9293      </seglistitem>
    9394    </segmentedlist>
Note: See TracChangeset for help on using the changeset viewer.