summaryrefslogtreecommitdiff
path: root/system/readline/fix-ncurses-underlinking.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/readline/fix-ncurses-underlinking.patch')
-rw-r--r--system/readline/fix-ncurses-underlinking.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/readline/fix-ncurses-underlinking.patch b/system/readline/fix-ncurses-underlinking.patch
new file mode 100644
index 000000000..2c3c823d3
--- /dev/null
+++ b/system/readline/fix-ncurses-underlinking.patch
@@ -0,0 +1,11 @@
+--- ./shlib/Makefile.in.orig
++++ ./shlib/Makefile.in
+@@ -86,7 +86,7 @@
+ SHOBJ_LIBS = @SHOBJ_LIBS@
+
+ SHLIB_XLDFLAGS = @LDFLAGS@ @SHLIB_XLDFLAGS@
+-SHLIB_LIBS = @SHLIB_LIBS@
++SHLIB_LIBS = @SHLIB_LIBS@ -lncursesw
+
+ SHLIB_DOT = @SHLIB_DOT@
+ SHLIB_LIBPREF = @SHLIB_LIBPREF@