aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/readline/patches/001-curses-link.patch
blob: dc189315174e845c87f1bfbe1ccc36750a897a87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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_XLDFLAGS=
 SHOBJ_LIBS=
 
 SHLIB_XLDFLAGS=
-SHLIB_LIBS=
+SHLIB_LIBS=-lncurses
 
 SHLIB_DOT='.'
 SHLIB_LIBPREF='lib'