From 07fa29fdac9688e69a74da968f539a459d3f60c4 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Wed, 22 Apr 2020 16:15:53 +0200 Subject: [PATCH] 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 --- packages/devel/ncurses/package.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/devel/ncurses/package.mk b/packages/devel/ncurses/package.mk index 2748beda82..449c4a20b5 100644 --- a/packages/devel/ncurses/package.mk +++ b/packages/devel/ncurses/package.mk @@ -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