summaryrefslogtreecommitdiff
path: root/package/readline
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-03-23 19:42:55 -0400
committerPeter Korsgaard <jacmet@sunsite.dk>2011-04-03 19:52:51 +0200
commitb864790383b1cb8d51e5202bb750c0a6601b21ab (patch)
tree79b0a71adef3dee04414464e7279dc00dee5a078 /package/readline
parentc729829c6c3f7c5bccf2a4370f8df853642b23b8 (diff)
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>
Diffstat (limited to 'package/readline')
-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 000000000..56b477022
--- /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'