summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-03-23 23:42:55 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-04-03 17:52:51 (GMT)
commitb864790383b1cb8d51e5202bb750c0a6601b21ab (patch)
tree79b0a71adef3dee04414464e7279dc00dee5a078
parentc729829c6c3f7c5bccf2a4370f8df853642b23b8 (diff)
downloadbuildroot-b864790383b1cb8d51e5202bb750c0a6601b21ab.tar.gz
buildroot-b864790383b1cb8d51e5202bb750c0a6601b21ab.tar.bz2
readline: link directly against ncurses
Fixes link issues on uClibc for applications using libreadline. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/readline/readline-6.1-curses-link.patch16
1 files changed, 16 insertions, 0 deletions
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 0000000..56b4770
--- /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'