Fix missing symbol issue with readline (Fixes vice, etc).

This commit is contained in:
fewtarius 2022-10-25 07:30:07 -04:00
parent 9f225e1f95
commit 3c8bd21b42
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -17,6 +17,11 @@ PKG_CONFIGURE_OPTS_TARGET="bash_cv_wcwidth_broken=no \
--disable-static \
--with-curses"
pre_configure_target() {
export LDFLAGS="${LDFLAGS} -lncursesw -ltinfow"
export CFLAGS="${CFLAGS} -fcommon"
}
post_makeinstall_target() {
sed -i 's/-lreadline/-lreadline -lncursesw/' ${SYSROOT_PREFIX}/usr/lib/pkgconfig/readline.pc
rm -rf ${INSTALL}/usr/share/readline