ncurses: add host configure options

Host configure options were completely missing so unnecessary
stuff like manpages were built and installed to toolchain.

Enable termlib and termcap and also build shared libraries
to prevent libtinfo from host being picked up.

Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
Matthias Reichl 2020-04-22 16:15:53 +02:00
parent 9850f95142
commit 07fa29fdac

View File

@ -60,6 +60,12 @@ PKG_CONFIGURE_OPTS_TARGET="--without-ada \
--disable-home-terminfo \
--disable-assertions"
PKG_CONFIGURE_OPTS_HOST="--enable-termcap \
--with-termlib \
--with-shared \
--enable-pc-files \
--without-manpages"
post_makeinstall_target() {
cp misc/ncurses-config $TOOLCHAIN/bin
chmod +x $TOOLCHAIN/bin/ncurses-config