From: Mike Frysinger Date: Wed, 23 Mar 2011 23:42:55 +0000 (-0400) Subject: readline: link directly against ncurses X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b864790383b1cb8d51e5202bb750c0a6601b21ab;p=buildroot.git readline: link directly against ncurses Fixes link issues on uClibc for applications using libreadline. Signed-off-by: Mike Frysinger Signed-off-by: Peter Korsgaard --- diff --git a/package/readline/readline-6.1-curses-link.patch b/package/readline/readline-6.1-curses-link.patch new file mode 100644 index 0000000000..56b4770220 --- /dev/null +++ b/package/readline/readline-6.1-curses-link.patch @@ -0,0 +1,16 @@ +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 + +--- 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'