readline: build with '-fexceptions'

This commit is contained in:
Leonid Pliushch 2019-02-23 12:40:49 +02:00
parent 54036eac1a
commit 394541a5f9
1 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,10 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-curses --enable-multibyte bash_cv_wcwidt
TERMUX_PKG_EXTRA_MAKE_ARGS="SHLIB_LIBS=-lncursesw"
TERMUX_PKG_CONFFILES="etc/inputrc"
termux_step_pre_configure() {
CFLAGS+=" -fexceptions"
}
termux_step_post_make_install() {
mkdir -p $TERMUX_PREFIX/lib/pkgconfig
cp readline.pc $TERMUX_PREFIX/lib/pkgconfig/