- Timestamp:
- 01/21/2024 04:27:45 PM (8 months ago)
- Branches:
- 12.1, 12.1-rc1, 12.2, 12.2-rc1, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/update-glibc
- Children:
- 943f225
- Parents:
- 619e4d9
- git-author:
- Xi Ruoyao <xry111@…> (01/19/2024 04:47:33 AM)
- git-committer:
- Xi Ruoyao <xry111@…> (01/21/2024 04:27:45 PM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/ncurses.xml
r619e4d9 rd282f88 132 132 from the library file. Install the package with 133 133 <literal>DESTDIR</literal>, and replace the library file correctly using 134 <command>install</command> command:</para> 134 <command>install</command> command (the header 135 <filename>curses.h</filename> is also edited to ensure the 136 wide-character ABI to be used as what we've done in 137 <xref linkend='ch-tools-ncurses'/>):</para> 135 138 136 139 <screen><userinput remap="install">make DESTDIR=$PWD/dest install 137 140 install -vm755 dest/usr/lib/libncursesw.so.&ncurses-version; /usr/lib 138 141 rm -v dest/usr/lib/libncursesw.so.&ncurses-version; 142 sed -e 's/^#if.*XOPEN.*$/#if 1/' \ 143 -i dest/usr/include/curses.h 139 144 cp -av dest/* /</userinput></screen> 140 145
Note:
See TracChangeset
for help on using the changeset viewer.