Ignore:
Timestamp:
11/17/2020 02:50:35 PM (3 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
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.