summaryrefslogtreecommitdiff
path: root/package/readline/readline-6.2-curses-link.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/readline/readline-6.2-curses-link.patch')
-rw-r--r--package/readline/readline-6.2-curses-link.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/readline/readline-6.2-curses-link.patch b/package/readline/readline-6.2-curses-link.patch
new file mode 100644
index 000000000..56b477022
--- /dev/null
+++ b/package/readline/readline-6.2-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'