Merge pull request #9564 from heitbaum/ncurses

ncurses: fix crosscompile target ncurses.h
This commit is contained in:
Christian Hewitt 2024-12-11 14:49:34 +04:00 committed by GitHub
commit 7506b14b18
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,7 +59,8 @@ PKG_CONFIGURE_OPTS_TARGET="--without-ada \
--disable-home-terminfo \ --disable-home-terminfo \
--disable-assertions \ --disable-assertions \
--enable-leaks \ --enable-leaks \
--enable-sigwinch" --enable-sigwinch \
--cache-file=config.cache"
PKG_CONFIGURE_OPTS_HOST="--enable-termcap \ PKG_CONFIGURE_OPTS_HOST="--enable-termcap \
--with-termlib \ --with-termlib \
@ -67,6 +68,13 @@ PKG_CONFIGURE_OPTS_HOST="--enable-termcap \
--enable-pc-files \ --enable-pc-files \
--without-manpages" --without-manpages"
pre_configure_target() {
cat >config.cache <<EOF
cf_cv_builtin_bool=1
cf_cv_header_stdbool_h=1
EOF
}
post_makeinstall_target() { post_makeinstall_target() {
local f local f
cp misc/ncurses-config ${TOOLCHAIN}/bin cp misc/ncurses-config ${TOOLCHAIN}/bin