Changeset 16caca2 for chapter08/libcap.xml
- Timestamp:
- 03/31/2021 10:41:40 AM (3 years ago)
- Branches:
- ml-11.0, multilib
- Children:
- 8acfbf67
- Parents:
- fb95c5c
- git-author:
- Thomas Trepl <thomas@…> (11/22/2020 10:34:01 AM)
- git-committer:
- Xℹ Ruoyao <xry111@…> (03/31/2021 10:41:40 AM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/libcap.xml
rfb95c5c r16caca2 44 44 <title>Installation of Libcap</title> 45 45 46 <para>Prevent a static libraryfrom being installed:</para>47 48 <screen><userinput remap="pre">sed -i '/install -m.*STA CAPLIBNAME/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> 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> … … 139 140 <seglistitem> 140 141 <seg>capsh, getcap, getpcaps, and setcap</seg> 141 <seg>libcap.so and libpsx. a</seg>142 <seg>libcap.so and libpsx.so</seg> 142 143 </seglistitem> 143 144 </segmentedlist>
Note:
See TracChangeset
for help on using the changeset viewer.