mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-16 11:48:34 +00:00
Build ncurses with wide character support
This commit is contained in:
parent
3a6602387e
commit
7aa00a63fd
@ -15,7 +15,7 @@ build() {
|
|||||||
cp $top/stuff/ncurses-fallback.c ncurses/fallback.c
|
cp $top/stuff/ncurses-fallback.c ncurses/fallback.c
|
||||||
CC="x86_64-linux-musl-gcc -static" ./configure --prefix="$libcroot" --without-tests \
|
CC="x86_64-linux-musl-gcc -static" ./configure --prefix="$libcroot" --without-tests \
|
||||||
--with-normal --enable-sigwinch --disable-nls --without-dlsym \
|
--with-normal --enable-sigwinch --disable-nls --without-dlsym \
|
||||||
--without-cxx-binding \
|
--without-cxx-binding --enable-widec \
|
||||||
--with-fallbacks="linux vt100 xterm xterm256-color" </dev/ptmx || return 1
|
--with-fallbacks="linux vt100 xterm xterm256-color" </dev/ptmx || return 1
|
||||||
make -j$nprocs || return 1
|
make -j$nprocs || return 1
|
||||||
cd -
|
cd -
|
||||||
@ -25,4 +25,8 @@ install() {
|
|||||||
cd src/ncurses-5.9
|
cd src/ncurses-5.9
|
||||||
make install || return 1
|
make install || return 1
|
||||||
cd -
|
cd -
|
||||||
|
cd $root/lib
|
||||||
|
ln -s libncursesw_g.a libncurses_g.a
|
||||||
|
ln -s libncursesw.a libncurses.a
|
||||||
|
cd -
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ unpack() {
|
|||||||
build() {
|
build() {
|
||||||
cd src/tmux-1.8
|
cd src/tmux-1.8
|
||||||
CC=x86_64-linux-musl-gcc ./configure --prefix="$root" LDFLAGS=-static \
|
CC=x86_64-linux-musl-gcc ./configure --prefix="$root" LDFLAGS=-static \
|
||||||
CFLAGS="-I$libcroot/include/ncurses" || return 1
|
CFLAGS="-I$libcroot/include/ncursesw" || return 1
|
||||||
make -j$nprocs || return 1
|
make -j$nprocs || return 1
|
||||||
cd -
|
cd -
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user