mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-16 12:58: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
|
||||
CC="x86_64-linux-musl-gcc -static" ./configure --prefix="$libcroot" --without-tests \
|
||||
--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
|
||||
make -j$nprocs || return 1
|
||||
cd -
|
||||
@ -25,4 +25,8 @@ install() {
|
||||
cd src/ncurses-5.9
|
||||
make install || return 1
|
||||
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() {
|
||||
cd src/tmux-1.8
|
||||
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
|
||||
cd -
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user