mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-09 19:07:50 +00:00
Merge pull request #10325 from HiassofT/le13-readline-shared
readline: build as a shared library instead of static
This commit is contained in:
commit
fce1dfad70
@ -13,13 +13,10 @@ PKG_LONGDESC="The GNU Readline library provides a set of functions for use by ap
|
|||||||
PKG_BUILD_FLAGS="+pic"
|
PKG_BUILD_FLAGS="+pic"
|
||||||
|
|
||||||
PKG_CONFIGURE_OPTS_TARGET="bash_cv_wcwidth_broken=no \
|
PKG_CONFIGURE_OPTS_TARGET="bash_cv_wcwidth_broken=no \
|
||||||
--disable-shared \
|
--enable-shared \
|
||||||
--enable-static \
|
--disable-static \
|
||||||
--with-curses"
|
--with-curses"
|
||||||
|
|
||||||
post_makeinstall_target() {
|
post_makeinstall_target() {
|
||||||
# fix static library
|
|
||||||
sed -i 's/-lreadline/-lreadline -lncursesw/' ${SYSROOT_PREFIX}/usr/lib/pkgconfig/readline.pc
|
|
||||||
|
|
||||||
rm -rf ${INSTALL}/usr/share/readline
|
rm -rf ${INSTALL}/usr/share/readline
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user