mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-07 01:47:50 +00:00
readline: build as a shared library instead of static
This reduces image size by almost 500k (300k compressed) Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
a8d90323b1
commit
8703a6eda4
@ -13,13 +13,10 @@ PKG_LONGDESC="The GNU Readline library provides a set of functions for use by ap
|
||||
PKG_BUILD_FLAGS="+pic"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="bash_cv_wcwidth_broken=no \
|
||||
--disable-shared \
|
||||
--enable-static \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--with-curses"
|
||||
|
||||
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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user