Build ncurses with wide character support

This commit is contained in:
Daniel Bainton 2014-02-26 10:06:41 +02:00 committed by sin
parent 3a6602387e
commit 7aa00a63fd
2 changed files with 6 additions and 2 deletions

View File

@ -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 -
}

View File

@ -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 -
}