mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-27 04:20:38 -09:00
package/readline: Use configure options to link with ncurses
Use configure options to link with ncurses available since version 8.2:
https://cgit.git.savannah.gnu.org/cgit/readline.git/tree/NEWS?h=readline-8.3#n100
Removed a 14 year-old patch added with buildroot commit
b864790383.
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
1072488bd8
commit
baa81362ef
@@ -1014,7 +1014,6 @@ package/rapidxml/0001-ensure-internal-print-operations-are-declared-before.patch
|
||||
package/read-edid/0001-Fix-install-file-list.patch lib_patch.Upstream
|
||||
package/read-edid/0002-Fix-compiler-check.patch lib_patch.Upstream
|
||||
package/read-edid/0003-fix-build-with-gcc-10.patch lib_patch.Upstream
|
||||
package/readline/0001-curses-link.patch lib_patch.Upstream
|
||||
package/redis/0001-uclibc.patch lib_patch.Upstream
|
||||
package/redis/0002-largefile-conditional-define.patch lib_patch.Upstream
|
||||
package/redis/0003-redis.conf-adjust-defauts-for-buildroot.patch lib_patch.Upstream
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
link readline directly to ncurses since it needs symbols from it
|
||||
|
||||
upstream readline does this on purpose (no direct linking), but
|
||||
it doesn't make much sense in a Linux world
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
|
||||
--- a/support/shobj-conf
|
||||
+++ b/support/shobj-conf
|
||||
@@ -42,7 +42,7 @@
|
||||
SHOBJ_LIBS=
|
||||
|
||||
SHLIB_XLDFLAGS=
|
||||
-SHLIB_LIBS=
|
||||
+SHLIB_LIBS=-lncurses
|
||||
|
||||
SHLIB_DOT='.'
|
||||
SHLIB_LIBPREF='lib'
|
||||
@@ -11,7 +11,10 @@ READLINE_DEPENDENCIES = ncurses host-autoconf
|
||||
HOST_READLINE_DEPENDENCIES = host-ncurses host-autoconf
|
||||
READLINE_CONF_ENV = bash_cv_func_sigsetjmp=yes \
|
||||
bash_cv_wcwidth_broken=no
|
||||
READLINE_CONF_OPTS = --disable-install-examples
|
||||
READLINE_CONF_OPTS = \
|
||||
--disable-install-examples \
|
||||
--with-curses \
|
||||
--with-shared-termcap-library
|
||||
READLINE_LICENSE = GPL-3.0+
|
||||
READLINE_LICENSE_FILES = COPYING
|
||||
READLINE_CPE_ID_VENDOR = gnu
|
||||
|
||||
Reference in New Issue
Block a user