mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
ncurses: disable -ltinfo. disable ~/.terminfo
This commit is contained in:
parent
670b3bee5f
commit
9a838d7c38
@ -43,7 +43,7 @@ PKG_CONFIGURE_OPTS_TARGET="--without-cxx \
|
||||
--with-normal \
|
||||
--without-debug \
|
||||
--without-profile \
|
||||
--with-termlib \
|
||||
--without-termlib \
|
||||
--without-dbmalloc \
|
||||
--without-dmalloc \
|
||||
--without-gpm \
|
||||
@ -70,6 +70,7 @@ PKG_CONFIGURE_OPTS_TARGET="--without-cxx \
|
||||
--disable-widec \
|
||||
--disable-echo \
|
||||
--disable-warnings \
|
||||
--disable-home-terminfo \
|
||||
--disable-assertions"
|
||||
|
||||
pre_configure_target() {
|
||||
@ -102,6 +103,9 @@ makeinstall_target() {
|
||||
$SED "s:\(['=\" ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" $ROOT/$TOOLCHAIN/bin/ncurses-config
|
||||
|
||||
make DESTDIR=$INSTALL -C ncurses install
|
||||
# provide tinfo to not break 3rdparty stuff.
|
||||
# TODO remove after addon bump
|
||||
ln -sf libncurses.so.5 $INSTALL/usr/lib/libtinfo.so.5
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
|
@ -45,7 +45,6 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-nls \
|
||||
--disable-tailbox"
|
||||
|
||||
pre_configure_target() {
|
||||
export LDFLAGS="$LDFLAGS -ltinfo"
|
||||
export NCURSES_CONFIG="$ROOT/$TOOLCHAIN/bin/ncurses-config"
|
||||
}
|
||||
|
||||
|
@ -35,7 +35,6 @@ PKG_AUTORECONF="yes"
|
||||
|
||||
export CFLAGS="$CFLAGS -I$SYSROOT_PREFIX/usr/include/ncurses"
|
||||
export LDFLAGS=`echo $LDFLAGS | sed -e "s|-Wl,--as-needed||"`
|
||||
export LDFLAGS="$LDFLAGS -ltinfo"
|
||||
|
||||
post_makeinstall_target() {
|
||||
rm -rf $INSTALL/usr/share/nano/man-html
|
||||
|
Loading…
x
Reference in New Issue
Block a user