mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
fix build of ncurses
This commit is contained in:
parent
96968308cf
commit
d97d717a75
@ -7,15 +7,13 @@ CWD=`pwd`
|
||||
setup_toolchain host
|
||||
|
||||
cd $PKG_BUILD/ncurses-host
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--without-shared \
|
||||
./configure
|
||||
|
||||
make -C include
|
||||
make -C progs tic
|
||||
|
||||
cp -PR progs/tic $ROOT/$TOOLCHAIN/bin
|
||||
|
||||
cd "$CWD"
|
||||
|
||||
setup_toolchain target
|
||||
@ -35,11 +33,11 @@ cd $PKG_BUILD
|
||||
--without-cxx-binding \
|
||||
--without-ada \
|
||||
--without-progs \
|
||||
--without-shared \
|
||||
--with-shared \
|
||||
--without-normal \
|
||||
--without-debug \
|
||||
--without-profile \
|
||||
--without-termlib \
|
||||
--with-termlib \
|
||||
--without-dbmalloc \
|
||||
--without-dmalloc \
|
||||
--without-gpm \
|
||||
@ -71,10 +69,11 @@ cd $PKG_BUILD
|
||||
make -C include
|
||||
make -C ncurses
|
||||
|
||||
#$AR cru lib/libncurses.a obj_s/*.o
|
||||
$AR cru lib/libncurses.a obj_s/*.o
|
||||
|
||||
$MAKEINSTALL -C include
|
||||
$MAKEINSTALL -C ncurses
|
||||
|
||||
cd $SYSROOT_PREFIX/usr/include/ncurses
|
||||
cp curses.h term.h ../
|
||||
cp $SYSROOT_PREFIX/usr/include/ncurses/curses.h \
|
||||
$SYSROOT_PREFIX/usr/include/ncurses/term.h \
|
||||
$SYSROOT_PREFIX/usr/include/
|
||||
|
@ -3,7 +3,8 @@
|
||||
. config/options
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp $PKG_BUILD/lib/libncurses.so* $INSTALL/usr/lib
|
||||
cp -PR $PKG_BUILD/lib/libncurses.so* $INSTALL/usr/lib
|
||||
cp -PR $PKG_BUILD/lib/libtinfo.so* $INSTALL/usr/lib
|
||||
|
||||
#mkdir -p $INSTALL/usr/share/terminfo/l
|
||||
#TERMINFO=$INSTALL/usr/share/terminfo LD_LIBRARY_PATH=`ls -d $PKG_BUILD/ncurses-host/lib`:$LD_LIBRARY_PATH $PKG_BUILD/ncurses-host/progs/tic -xe linux $PKG_BUILD/misc/terminfo.src
|
||||
mkdir -p $INSTALL/usr/share/terminfo/l
|
||||
TERMINFO=$INSTALL/usr/share/terminfo $ROOT/$TOOLCHAIN/bin/tic -xe linux $PKG_BUILD/misc/terminfo.src
|
||||
|
Loading…
x
Reference in New Issue
Block a user