Changeset e8c3099
- Timestamp:
- 11/17/2020 02:50:35 PM (3 years ago)
- 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, arm, bdubbs/gcc13, ml-11.0, multilib, s6-init, trunk, xry111/arm64, xry111/clfs-ng, xry111/git-transition, xry111/glibc-2.34, xry111/glibc-2.37, xry111/kcfg-revise, xry111/lfs-next, xry111/pip3, xry111/queue-11.3, xry111/rust-wip-20221008, xry111/tester-nohack, xry111/usr-move
- Children:
- bfe0b0b
- Parents:
- 9d9c3fd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/libcap.xml
r9d9c3fd re8c3099 44 44 <title>Installation of Libcap</title> 45 45 46 <para>Prevent a static libraryfrom being installed:</para>46 <para>Prevent static libraries from being installed:</para> 47 47 48 <screen><userinput remap="pre">sed -i '/install -m.*STA CAPLIBNAME/d' libcap/Makefile</userinput></screen>48 <screen><userinput remap="pre">sed -i '/install -m.*STA/d' libcap/Makefile</userinput></screen> 49 49 50 50 <para>Compile the package:</para> … … 73 73 74 74 <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> 75 for 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 79 done</userinput></screen> 79 80 80 81 </sect2> … … 89 90 <seglistitem> 90 91 <seg>capsh, getcap, getpcaps, and setcap</seg> 91 <seg>libcap.so and libpsx. a</seg>92 <seg>libcap.so and libpsx.so</seg> 92 93 </seglistitem> 93 94 </segmentedlist>
Note:
See TracChangeset
for help on using the changeset viewer.