diff --git a/packages/devel/readline/package.mk b/packages/devel/readline/package.mk index 14befaeb7..e25b975b6 100644 --- a/packages/devel/readline/package.mk +++ b/packages/devel/readline/package.mk @@ -17,12 +17,7 @@ PKG_CONFIGURE_OPTS_TARGET="bash_cv_wcwidth_broken=no \ --disable-static \ --with-curses" -pre_configure_target() { - export LDFLAGS="${LDFLAGS} -lncurses" -} - post_makeinstall_target() { - sed -i 's/-lreadline/-lreadline -lncursesw -ltinfo/' ${SYSROOT_PREFIX}/usr/lib/pkgconfig/readline.pc - + sed -i 's/-lreadline/-lreadline -lncursesw/' ${SYSROOT_PREFIX}/usr/lib/pkgconfig/readline.pc rm -rf ${INSTALL}/usr/share/readline }